@pie-element/ebsr 14.0.1 → 14.1.1-next.2

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 (233) hide show
  1. package/dist/author/defaults.d.ts +67 -0
  2. package/dist/author/defaults.d.ts.map +1 -0
  3. package/dist/author/defaults.js +161 -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 +78 -0
  7. package/dist/author/main.d.ts +23 -0
  8. package/dist/author/main.d.ts.map +1 -0
  9. package/dist/author/main.js +121 -0
  10. package/dist/controller/defaults.d.ts +16 -0
  11. package/dist/controller/defaults.d.ts.map +1 -0
  12. package/dist/controller/defaults.js +26 -0
  13. package/dist/controller/index.d.ts +43 -0
  14. package/dist/controller/index.d.ts.map +1 -0
  15. package/dist/controller/index.js +186 -0
  16. package/dist/controller/utils.d.ts +11 -0
  17. package/dist/controller/utils.d.ts.map +1 -0
  18. package/dist/controller/utils.js +8 -0
  19. package/dist/delivery/index.d.ts +27 -0
  20. package/dist/delivery/index.d.ts.map +1 -0
  21. package/dist/delivery/index.js +132 -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 +165 -0
  27. package/dist/index.js +2 -0
  28. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +6 -0
  29. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +16 -0
  30. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +16 -0
  31. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +6 -0
  32. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +16 -0
  33. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +6 -0
  34. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +6 -0
  35. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.js +11 -0
  36. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +13 -0
  37. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +5 -0
  38. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +5 -0
  39. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +6 -0
  40. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +12 -0
  41. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +7 -0
  42. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +10 -0
  43. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  44. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +7 -0
  45. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +7 -0
  46. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.js +7 -0
  47. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +10 -0
  48. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +8 -0
  49. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +8 -0
  50. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +8 -0
  51. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +12 -0
  52. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +57 -0
  53. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +14 -0
  54. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGet.js +10 -0
  55. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  56. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +10 -0
  57. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +9 -0
  58. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.js +8 -0
  59. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  60. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +9 -0
  61. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +11 -0
  62. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +9 -0
  63. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  64. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +12 -0
  65. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +13 -0
  66. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +9 -0
  67. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +14 -0
  68. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +7 -0
  69. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +15 -0
  70. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +8 -0
  71. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.js +6 -0
  72. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +10 -0
  73. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  74. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +10 -0
  75. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +8 -0
  76. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +8 -0
  77. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +8 -0
  78. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  79. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +8 -0
  80. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +14 -0
  81. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +8 -0
  82. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  83. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +5 -0
  84. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +10 -0
  85. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.js +35 -0
  86. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.js +35 -0
  87. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.js +32 -0
  88. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +4 -0
  89. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +9 -0
  90. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  91. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +9 -0
  93. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +5 -0
  94. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +14 -0
  95. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +10 -0
  96. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  97. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +23 -0
  98. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +6 -0
  99. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +7 -0
  100. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +7 -0
  101. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +13 -0
  102. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +9 -0
  103. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +9 -0
  104. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +33 -0
  106. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIterateeCall.js +12 -0
  109. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +11 -0
  110. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +7 -0
  111. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +11 -0
  112. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +8 -0
  113. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +6 -0
  114. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +9 -0
  115. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +8 -0
  116. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +7 -0
  117. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +8 -0
  118. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +13 -0
  119. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  120. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +7 -0
  121. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +7 -0
  122. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +8 -0
  123. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.js +9 -0
  124. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +11 -0
  125. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +5 -0
  126. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +5 -0
  127. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  128. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +9 -0
  129. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +7 -0
  130. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +8 -0
  131. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +13 -0
  132. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +5 -0
  133. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js +6 -0
  135. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.js +9 -0
  136. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +6 -0
  137. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +14 -0
  138. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +7 -0
  139. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +7 -0
  140. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +6 -0
  141. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +6 -0
  142. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +16 -0
  143. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +10 -0
  144. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +10 -0
  145. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +15 -0
  146. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/constant.js +8 -0
  148. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/defaults.js +16 -0
  149. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +6 -0
  150. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/get.js +8 -0
  151. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js +6 -0
  152. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +10 -0
  153. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +4 -0
  154. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +8 -0
  155. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +6 -0
  156. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +21 -0
  157. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqual.js +7 -0
  158. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +11 -0
  159. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +7 -0
  160. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +7 -0
  161. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +7 -0
  162. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +6 -0
  163. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +7 -0
  164. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +9 -0
  165. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keys.js +9 -0
  167. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +9 -0
  168. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +16 -0
  169. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +6 -0
  170. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +6 -0
  171. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js +7 -0
  172. package/dist/print/index.d.ts +26 -0
  173. package/dist/print/index.d.ts.map +1 -0
  174. package/dist/print/index.js +107 -0
  175. package/package.json +59 -18
  176. package/{configure/src/defaults.js → src/author/defaults.ts} +10 -0
  177. package/{configure/src/index.js → src/author/index.ts} +16 -6
  178. package/{configure/src/main.jsx → src/author/main.tsx} +14 -4
  179. package/{controller/src/defaults.js → src/controller/defaults.ts} +10 -0
  180. package/{controller/src/index.js → src/controller/index.ts} +13 -3
  181. package/{controller/src/utils.js → src/controller/utils.ts} +10 -0
  182. package/src/{index.js → delivery/index.tsx} +78 -3
  183. package/src/index.iife.ts +16 -0
  184. package/src/index.ts +1 -0
  185. package/src/{print.js → print/index.tsx} +12 -2
  186. package/CHANGELOG.json +0 -1547
  187. package/CHANGELOG.md +0 -2259
  188. package/LICENSE.md +0 -5
  189. package/README.md +0 -62
  190. package/configure/CHANGELOG.json +0 -992
  191. package/configure/CHANGELOG.md +0 -2126
  192. package/configure/lib/defaults.js +0 -229
  193. package/configure/lib/defaults.js.map +0 -1
  194. package/configure/lib/index.js +0 -154
  195. package/configure/lib/index.js.map +0 -1
  196. package/configure/lib/main.js +0 -222
  197. package/configure/lib/main.js.map +0 -1
  198. package/configure/package.json +0 -23
  199. package/configure/src/__tests__/index.test.js +0 -492
  200. package/controller/CHANGELOG.json +0 -552
  201. package/controller/CHANGELOG.md +0 -1269
  202. package/controller/lib/defaults.js +0 -31
  203. package/controller/lib/defaults.js.map +0 -1
  204. package/controller/lib/index.js +0 -448
  205. package/controller/lib/index.js.map +0 -1
  206. package/controller/lib/utils.js +0 -18
  207. package/controller/lib/utils.js.map +0 -1
  208. package/controller/package.json +0 -18
  209. package/controller/src/__tests__/index.test.js +0 -591
  210. package/controller/src/__tests__/utils.test.js +0 -48
  211. package/docs/config-schema.json +0 -5787
  212. package/docs/config-schema.json.md +0 -4278
  213. package/docs/demo/config.js +0 -8
  214. package/docs/demo/generate.js +0 -52
  215. package/docs/demo/index.html +0 -2
  216. package/docs/demo/session.js +0 -14
  217. package/docs/pie-schema.json +0 -2911
  218. package/docs/pie-schema.json.md +0 -2142
  219. package/ebsr.png +0 -0
  220. package/lib/index.js +0 -146
  221. package/lib/index.js.map +0 -1
  222. package/lib/print.js +0 -186
  223. package/lib/print.js.map +0 -1
  224. package/module/configure.js +0 -1
  225. package/module/controller.js +0 -5664
  226. package/module/demo.js +0 -77
  227. package/module/element.js +0 -1
  228. package/module/index.html +0 -21
  229. package/module/manifest.json +0 -14
  230. package/module/print-demo.js +0 -115
  231. package/module/print.html +0 -18
  232. package/module/print.js +0 -1
  233. package/src/__tests__/index.test.js +0 -129
@@ -1,2142 +0,0 @@
1
- Model for the EBSR Interaction
2
-
3
- The schema defines the following properties:
4
-
5
- # `partA` (object, required)
6
-
7
- Properties of the `partA` object:
8
-
9
- ## `choiceMode` (string, enum, required)
10
-
11
- Indicates the choices are single or multiple selection
12
-
13
- This element must be one of the following enum values:
14
-
15
- * `checkbox`
16
- * `radio`
17
-
18
- ## `choices` (array, required)
19
-
20
- Array of all the available choices
21
-
22
- The object is an array with all elements of the type `object`.
23
-
24
- The array object has the following properties:
25
-
26
- ### `value` (string, required)
27
-
28
- The value for the choice
29
-
30
- ### `label` (string, required)
31
-
32
- The label of the choice
33
-
34
- ### `correct` (boolean)
35
-
36
- Indicates if choice is correct
37
-
38
- ## `choicePrefix` (string, enum, required)
39
-
40
- What key should be displayed before choices.
41
-
42
- This element must be one of the following enum values:
43
-
44
- * `letters`
45
- * `numbers`
46
-
47
- ## `prompt` (string, required)
48
-
49
- The question prompt or item stem
50
-
51
- ## `promptEnabled` (boolean)
52
-
53
- Indicates if the prompt is enabled
54
-
55
- ## `studentInstructions` (string)
56
-
57
- Indicates student instructions
58
-
59
- ## `teacherInstructions` (string)
60
-
61
- Indicates teacher instructions
62
-
63
- ## `feedbackEnabled` (boolean, required)
64
-
65
- Indicates if Feedback is enabled
66
-
67
- ## `rationaleEnabled` (boolean, required)
68
-
69
- Indicates if Rationale are enabled
70
-
71
- ## `spellCheckEnabled` (boolean, required)
72
-
73
- Indicates if spellcheck is enabled for the author. Default value is true
74
-
75
- ## `studentInstructionsEnabled` (boolean, required)
76
-
77
- Indicates if Student Instructions are enabled
78
-
79
- ## `teacherInstructionsEnabled` (boolean, required)
80
-
81
- Indicates if Teacher Instructions are enabled
82
-
83
- ## `verticalMode` (boolean)
84
-
85
- Indicates the layout of choices for player
86
-
87
- Default: `": true"`
88
-
89
- # `partB` (object, required)
90
-
91
- Properties of the `partB` object:
92
-
93
- ## `choiceMode` (string, enum, required)
94
-
95
- Indicates the choices are single or multiple selection
96
-
97
- This element must be one of the following enum values:
98
-
99
- * `checkbox`
100
- * `radio`
101
-
102
- ## `choices` (array, required)
103
-
104
- Array of all the available choices
105
-
106
- The object is an array with all elements of the type `object`.
107
-
108
- The array object has the following properties:
109
-
110
- ### `value` (string, required)
111
-
112
- The value for the choice
113
-
114
- ### `label` (string, required)
115
-
116
- The label of the choice
117
-
118
- ### `correct` (boolean)
119
-
120
- Indicates if choice is correct
121
-
122
- ## `choicePrefix` (string, enum, required)
123
-
124
- What key should be displayed before choices.
125
-
126
- This element must be one of the following enum values:
127
-
128
- * `letters`
129
- * `numbers`
130
-
131
- ## `prompt` (string, required)
132
-
133
- The question prompt or item stem
134
-
135
- ## `promptEnabled` (boolean)
136
-
137
- Indicates if the prompt is enabled
138
-
139
- ## `studentInstructions` (string)
140
-
141
- Indicates student instructions
142
-
143
- ## `teacherInstructions` (string)
144
-
145
- Indicates teacher instructions
146
-
147
- ## `feedbackEnabled` (boolean, required)
148
-
149
- Indicates if Feedback is enabled
150
-
151
- ## `rationaleEnabled` (boolean, required)
152
-
153
- Indicates if Rationale are enabled
154
-
155
- ## `spellCheckEnabled` (boolean, required)
156
-
157
- Indicates if spellcheck is enabled for the author. Default value is true
158
-
159
- ## `studentInstructionsEnabled` (boolean, required)
160
-
161
- Indicates if Student Instructions are enabled
162
-
163
- ## `teacherInstructionsEnabled` (boolean, required)
164
-
165
- Indicates if Teacher Instructions are enabled
166
-
167
- ## `verticalMode` (boolean)
168
-
169
- Indicates the layout of choices for player
170
-
171
- Default: `": true"`
172
-
173
- # `partLabels` (boolean, required)
174
-
175
- Indicates if part labels should be displayed
176
-
177
- # `partLabelType` (string, enum, required)
178
-
179
- Indicates what type should have part labels if they are enabled
180
-
181
- This element must be one of the following enum values:
182
-
183
- * `Letters`
184
- * `Numbers`
185
-
186
- # `partialScoring` (boolean)
187
-
188
- Indicates if partial scoring should be used
189
-
190
- # `scoringType` (string, enum)
191
-
192
- Indicates scoring type
193
-
194
- This element must be one of the following enum values:
195
-
196
- * `auto`
197
- * `rubric`
198
-
199
- # `id` (string, required)
200
-
201
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
202
-
203
- # `element` (string, required)
204
-
205
- The html Element tag name
206
-
207
- ---
208
-
209
- # Sub Schemas
210
-
211
- The schema defines the following additional types:
212
-
213
- ## `PartConfiguration` (object)
214
-
215
- Properties of the `PartConfiguration` object:
216
-
217
- ### `addChoiceButton` (object)
218
-
219
- Properties of the `addChoiceButton` object:
220
-
221
- #### `settings` (boolean)
222
-
223
- Indicates if the item has to be displayed in the Settings Panel
224
-
225
- #### `label` (string)
226
-
227
- Indicates the label for the item that has to be displayed in the Settings Panel
228
-
229
- ### `choiceMode` (object)
230
-
231
- Properties of the `choiceMode` object:
232
-
233
- #### `settings` (boolean)
234
-
235
- Indicates if the item has to be displayed in the Settings Panel
236
-
237
- #### `label` (string)
238
-
239
- Indicates the label for the item that has to be displayed in the Settings Panel
240
-
241
- ### `choicePrefix` (object)
242
-
243
- Properties of the `choicePrefix` object:
244
-
245
- #### `settings` (boolean)
246
-
247
- Indicates if the item has to be displayed in the Settings Panel
248
-
249
- #### `label` (string)
250
-
251
- Indicates the label for the item that has to be displayed in the Settings Panel
252
-
253
- ### `deleteChoice` (object)
254
-
255
- Properties of the `deleteChoice` object:
256
-
257
- #### `settings` (boolean)
258
-
259
- Indicates if the item has to be displayed in the Settings Panel
260
-
261
- #### `label` (string)
262
-
263
- Indicates the label for the item that has to be displayed in the Settings Panel
264
-
265
- ### `feedback` (object)
266
-
267
- Properties of the `feedback` object:
268
-
269
- #### `settings` (boolean)
270
-
271
- Indicates if the item has to be displayed in the Settings Panel
272
-
273
- #### `label` (string)
274
-
275
- Indicates the label for the item that has to be displayed in the Settings Panel
276
-
277
- ### `lockChoiceOrder` (object)
278
-
279
- Properties of the `lockChoiceOrder` object:
280
-
281
- #### `settings` (boolean)
282
-
283
- Indicates if the item has to be displayed in the Settings Panel
284
-
285
- #### `label` (string)
286
-
287
- Indicates the label for the item that has to be displayed in the Settings Panel
288
-
289
- ### `prompt` (object)
290
-
291
- Properties of the `prompt` object:
292
-
293
- #### `inputConfiguration` (object)
294
-
295
- Properties of the `inputConfiguration` object:
296
-
297
- ##### `math` (object)
298
-
299
- Properties of the `math` object:
300
-
301
- ###### `disabled` (boolean)
302
-
303
- Indicates if the plugin is disabled or not
304
-
305
- ##### `audio` (object)
306
-
307
- Properties of the `audio` object:
308
-
309
- ###### `disabled` (boolean)
310
-
311
- Indicates if the plugin is disabled or not
312
-
313
- ##### `video` (object)
314
-
315
- Properties of the `video` object:
316
-
317
- ###### `disabled` (boolean)
318
-
319
- Indicates if the plugin is disabled or not
320
-
321
- ##### `image` (object)
322
-
323
- Properties of the `image` object:
324
-
325
- ###### `disabled` (boolean)
326
-
327
- Indicates if the plugin is disabled or not
328
-
329
- ##### `customPlugins` (array)
330
-
331
- An array of objects that determine custom plugins.
332
- A 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).
333
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
334
-
335
- The object is an array with all elements of the type `object`.
336
-
337
- The array object has the following properties:
338
-
339
- ###### `event` (string, required)
340
-
341
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
342
- PIE will emit the event prefixed with "PIE-".
343
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
344
-
345
- ###### `iconAlt` (string, required)
346
-
347
- The alt for the custom button icon
348
-
349
- ###### `iconType` (string, required)
350
-
351
- The icon type.
352
- Currently, only "SVG" is supported.
353
-
354
- ###### `icon` (string, required)
355
-
356
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
357
-
358
- ##### `blockquote` (object)
359
-
360
- Properties of the `blockquote` object:
361
-
362
- ###### `disabled` (boolean)
363
-
364
- Indicates if the plugin is disabled or not
365
-
366
- ##### `h3` (object)
367
-
368
- Properties of the `h3` object:
369
-
370
- ###### `disabled` (boolean)
371
-
372
- Indicates if the plugin is disabled or not
373
-
374
- ##### `characters` (object)
375
-
376
- Properties of the `characters` object:
377
-
378
- ###### `disabled` (boolean)
379
-
380
- Indicates if the plugin is disabled or not
381
-
382
- ##### `bold` (object)
383
-
384
- Properties of the `bold` object:
385
-
386
- ###### `disabled` (boolean)
387
-
388
- Indicates if the plugin is disabled or not
389
-
390
- ##### `html` (object)
391
-
392
- Properties of the `html` object:
393
-
394
- ###### `disabled` (boolean)
395
-
396
- Indicates if the plugin is disabled or not
397
-
398
- ##### `italic` (object)
399
-
400
- Properties of the `italic` object:
401
-
402
- ###### `disabled` (boolean)
403
-
404
- Indicates if the plugin is disabled or not
405
-
406
- ##### `ol_list` (object)
407
-
408
- Properties of the `ol_list` object:
409
-
410
- ###### `disabled` (boolean)
411
-
412
- Indicates if the plugin is disabled or not
413
-
414
- ##### `redo` (object)
415
-
416
- Properties of the `redo` object:
417
-
418
- ###### `disabled` (boolean)
419
-
420
- Indicates if the plugin is disabled or not
421
-
422
- ##### `strikethrough` (object)
423
-
424
- Properties of the `strikethrough` object:
425
-
426
- ###### `disabled` (boolean)
427
-
428
- Indicates if the plugin is disabled or not
429
-
430
- ##### `sub` (object)
431
-
432
- Properties of the `sub` object:
433
-
434
- ###### `disabled` (boolean)
435
-
436
- Indicates if the plugin is disabled or not
437
-
438
- ##### `sup` (object)
439
-
440
- Properties of the `sup` object:
441
-
442
- ###### `disabled` (boolean)
443
-
444
- Indicates if the plugin is disabled or not
445
-
446
- ##### `table` (object)
447
-
448
- Properties of the `table` object:
449
-
450
- ###### `disabled` (boolean)
451
-
452
- Indicates if the plugin is disabled or not
453
-
454
- ##### `ul_list` (object)
455
-
456
- Properties of the `ul_list` object:
457
-
458
- ###### `disabled` (boolean)
459
-
460
- Indicates if the plugin is disabled or not
461
-
462
- ##### `underline` (object)
463
-
464
- Properties of the `underline` object:
465
-
466
- ###### `disabled` (boolean)
467
-
468
- Indicates if the plugin is disabled or not
469
-
470
- ##### `undo` (object)
471
-
472
- Properties of the `undo` object:
473
-
474
- ###### `disabled` (boolean)
475
-
476
- Indicates if the plugin is disabled or not
477
-
478
- #### `required` (boolean)
479
-
480
- Indicates if the item is required and the value cannot be empty
481
-
482
- #### `settings` (boolean)
483
-
484
- Indicates if the item has to be displayed in the Settings Panel
485
-
486
- #### `label` (string)
487
-
488
- Indicates the label for the item that has to be displayed in the Settings Panel
489
-
490
- ### `settingsPanelDisabled` (boolean)
491
-
492
- Indicates if the settings panel is not available
493
-
494
- ### `spellCheck` (object)
495
-
496
- Properties of the `spellCheck` object:
497
-
498
- #### `settings` (boolean)
499
-
500
- Indicates if the item has to be displayed in the Settings Panel
501
-
502
- #### `label` (string)
503
-
504
- Indicates the label for the item that has to be displayed in the Settings Panel
505
-
506
- ### `rationale` (object)
507
-
508
- Properties of the `rationale` object:
509
-
510
- #### `inputConfiguration` (object)
511
-
512
- Properties of the `inputConfiguration` object:
513
-
514
- ##### `math` (object)
515
-
516
- Properties of the `math` object:
517
-
518
- ###### `disabled` (boolean)
519
-
520
- Indicates if the plugin is disabled or not
521
-
522
- ##### `audio` (object)
523
-
524
- Properties of the `audio` object:
525
-
526
- ###### `disabled` (boolean)
527
-
528
- Indicates if the plugin is disabled or not
529
-
530
- ##### `video` (object)
531
-
532
- Properties of the `video` object:
533
-
534
- ###### `disabled` (boolean)
535
-
536
- Indicates if the plugin is disabled or not
537
-
538
- ##### `image` (object)
539
-
540
- Properties of the `image` object:
541
-
542
- ###### `disabled` (boolean)
543
-
544
- Indicates if the plugin is disabled or not
545
-
546
- ##### `customPlugins` (array)
547
-
548
- An array of objects that determine custom plugins.
549
- A 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).
550
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
551
-
552
- The object is an array with all elements of the type `object`.
553
-
554
- The array object has the following properties:
555
-
556
- ###### `event` (string, required)
557
-
558
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
559
- PIE will emit the event prefixed with "PIE-".
560
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
561
-
562
- ###### `iconAlt` (string, required)
563
-
564
- The alt for the custom button icon
565
-
566
- ###### `iconType` (string, required)
567
-
568
- The icon type.
569
- Currently, only "SVG" is supported.
570
-
571
- ###### `icon` (string, required)
572
-
573
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
574
-
575
- ##### `blockquote` (object)
576
-
577
- Properties of the `blockquote` object:
578
-
579
- ###### `disabled` (boolean)
580
-
581
- Indicates if the plugin is disabled or not
582
-
583
- ##### `h3` (object)
584
-
585
- Properties of the `h3` object:
586
-
587
- ###### `disabled` (boolean)
588
-
589
- Indicates if the plugin is disabled or not
590
-
591
- ##### `characters` (object)
592
-
593
- Properties of the `characters` object:
594
-
595
- ###### `disabled` (boolean)
596
-
597
- Indicates if the plugin is disabled or not
598
-
599
- ##### `bold` (object)
600
-
601
- Properties of the `bold` object:
602
-
603
- ###### `disabled` (boolean)
604
-
605
- Indicates if the plugin is disabled or not
606
-
607
- ##### `html` (object)
608
-
609
- Properties of the `html` object:
610
-
611
- ###### `disabled` (boolean)
612
-
613
- Indicates if the plugin is disabled or not
614
-
615
- ##### `italic` (object)
616
-
617
- Properties of the `italic` object:
618
-
619
- ###### `disabled` (boolean)
620
-
621
- Indicates if the plugin is disabled or not
622
-
623
- ##### `ol_list` (object)
624
-
625
- Properties of the `ol_list` object:
626
-
627
- ###### `disabled` (boolean)
628
-
629
- Indicates if the plugin is disabled or not
630
-
631
- ##### `redo` (object)
632
-
633
- Properties of the `redo` object:
634
-
635
- ###### `disabled` (boolean)
636
-
637
- Indicates if the plugin is disabled or not
638
-
639
- ##### `strikethrough` (object)
640
-
641
- Properties of the `strikethrough` object:
642
-
643
- ###### `disabled` (boolean)
644
-
645
- Indicates if the plugin is disabled or not
646
-
647
- ##### `sub` (object)
648
-
649
- Properties of the `sub` object:
650
-
651
- ###### `disabled` (boolean)
652
-
653
- Indicates if the plugin is disabled or not
654
-
655
- ##### `sup` (object)
656
-
657
- Properties of the `sup` object:
658
-
659
- ###### `disabled` (boolean)
660
-
661
- Indicates if the plugin is disabled or not
662
-
663
- ##### `table` (object)
664
-
665
- Properties of the `table` object:
666
-
667
- ###### `disabled` (boolean)
668
-
669
- Indicates if the plugin is disabled or not
670
-
671
- ##### `ul_list` (object)
672
-
673
- Properties of the `ul_list` object:
674
-
675
- ###### `disabled` (boolean)
676
-
677
- Indicates if the plugin is disabled or not
678
-
679
- ##### `underline` (object)
680
-
681
- Properties of the `underline` object:
682
-
683
- ###### `disabled` (boolean)
684
-
685
- Indicates if the plugin is disabled or not
686
-
687
- ##### `undo` (object)
688
-
689
- Properties of the `undo` object:
690
-
691
- ###### `disabled` (boolean)
692
-
693
- Indicates if the plugin is disabled or not
694
-
695
- #### `required` (boolean)
696
-
697
- Indicates if the item is required and the value cannot be empty
698
-
699
- #### `settings` (boolean)
700
-
701
- Indicates if the item has to be displayed in the Settings Panel
702
-
703
- #### `label` (string)
704
-
705
- Indicates the label for the item that has to be displayed in the Settings Panel
706
-
707
- ### `studentInstructions` (object)
708
-
709
- Properties of the `studentInstructions` object:
710
-
711
- #### `settings` (boolean)
712
-
713
- Indicates if the item has to be displayed in the Settings Panel
714
-
715
- #### `label` (string)
716
-
717
- Indicates the label for the item that has to be displayed in the Settings Panel
718
-
719
- ### `teacherInstructions` (object)
720
-
721
- Properties of the `teacherInstructions` object:
722
-
723
- #### `inputConfiguration` (object)
724
-
725
- Properties of the `inputConfiguration` object:
726
-
727
- ##### `math` (object)
728
-
729
- Properties of the `math` object:
730
-
731
- ###### `disabled` (boolean)
732
-
733
- Indicates if the plugin is disabled or not
734
-
735
- ##### `audio` (object)
736
-
737
- Properties of the `audio` object:
738
-
739
- ###### `disabled` (boolean)
740
-
741
- Indicates if the plugin is disabled or not
742
-
743
- ##### `video` (object)
744
-
745
- Properties of the `video` object:
746
-
747
- ###### `disabled` (boolean)
748
-
749
- Indicates if the plugin is disabled or not
750
-
751
- ##### `image` (object)
752
-
753
- Properties of the `image` object:
754
-
755
- ###### `disabled` (boolean)
756
-
757
- Indicates if the plugin is disabled or not
758
-
759
- ##### `customPlugins` (array)
760
-
761
- An array of objects that determine custom plugins.
762
- A 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).
763
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
764
-
765
- The object is an array with all elements of the type `object`.
766
-
767
- The array object has the following properties:
768
-
769
- ###### `event` (string, required)
770
-
771
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
772
- PIE will emit the event prefixed with "PIE-".
773
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
774
-
775
- ###### `iconAlt` (string, required)
776
-
777
- The alt for the custom button icon
778
-
779
- ###### `iconType` (string, required)
780
-
781
- The icon type.
782
- Currently, only "SVG" is supported.
783
-
784
- ###### `icon` (string, required)
785
-
786
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
787
-
788
- ##### `blockquote` (object)
789
-
790
- Properties of the `blockquote` object:
791
-
792
- ###### `disabled` (boolean)
793
-
794
- Indicates if the plugin is disabled or not
795
-
796
- ##### `h3` (object)
797
-
798
- Properties of the `h3` object:
799
-
800
- ###### `disabled` (boolean)
801
-
802
- Indicates if the plugin is disabled or not
803
-
804
- ##### `characters` (object)
805
-
806
- Properties of the `characters` object:
807
-
808
- ###### `disabled` (boolean)
809
-
810
- Indicates if the plugin is disabled or not
811
-
812
- ##### `bold` (object)
813
-
814
- Properties of the `bold` object:
815
-
816
- ###### `disabled` (boolean)
817
-
818
- Indicates if the plugin is disabled or not
819
-
820
- ##### `html` (object)
821
-
822
- Properties of the `html` object:
823
-
824
- ###### `disabled` (boolean)
825
-
826
- Indicates if the plugin is disabled or not
827
-
828
- ##### `italic` (object)
829
-
830
- Properties of the `italic` object:
831
-
832
- ###### `disabled` (boolean)
833
-
834
- Indicates if the plugin is disabled or not
835
-
836
- ##### `ol_list` (object)
837
-
838
- Properties of the `ol_list` object:
839
-
840
- ###### `disabled` (boolean)
841
-
842
- Indicates if the plugin is disabled or not
843
-
844
- ##### `redo` (object)
845
-
846
- Properties of the `redo` object:
847
-
848
- ###### `disabled` (boolean)
849
-
850
- Indicates if the plugin is disabled or not
851
-
852
- ##### `strikethrough` (object)
853
-
854
- Properties of the `strikethrough` object:
855
-
856
- ###### `disabled` (boolean)
857
-
858
- Indicates if the plugin is disabled or not
859
-
860
- ##### `sub` (object)
861
-
862
- Properties of the `sub` object:
863
-
864
- ###### `disabled` (boolean)
865
-
866
- Indicates if the plugin is disabled or not
867
-
868
- ##### `sup` (object)
869
-
870
- Properties of the `sup` object:
871
-
872
- ###### `disabled` (boolean)
873
-
874
- Indicates if the plugin is disabled or not
875
-
876
- ##### `table` (object)
877
-
878
- Properties of the `table` object:
879
-
880
- ###### `disabled` (boolean)
881
-
882
- Indicates if the plugin is disabled or not
883
-
884
- ##### `ul_list` (object)
885
-
886
- Properties of the `ul_list` object:
887
-
888
- ###### `disabled` (boolean)
889
-
890
- Indicates if the plugin is disabled or not
891
-
892
- ##### `underline` (object)
893
-
894
- Properties of the `underline` object:
895
-
896
- ###### `disabled` (boolean)
897
-
898
- Indicates if the plugin is disabled or not
899
-
900
- ##### `undo` (object)
901
-
902
- Properties of the `undo` object:
903
-
904
- ###### `disabled` (boolean)
905
-
906
- Indicates if the plugin is disabled or not
907
-
908
- #### `required` (boolean)
909
-
910
- Indicates if the item is required and the value cannot be empty
911
-
912
- #### `settings` (boolean)
913
-
914
- Indicates if the item has to be displayed in the Settings Panel
915
-
916
- #### `label` (string)
917
-
918
- Indicates the label for the item that has to be displayed in the Settings Panel
919
-
920
- ### `choicesLayout` (object)
921
-
922
- Properties of the `choicesLayout` object:
923
-
924
- #### `settings` (boolean)
925
-
926
- Indicates if the item has to be displayed in the Settings Panel
927
-
928
- #### `label` (string)
929
-
930
- Indicates the label for the item that has to be displayed in the Settings Panel
931
-
932
- ### `gridColumns` (object)
933
-
934
- Properties of the `gridColumns` object:
935
-
936
- #### `settings` (boolean)
937
-
938
- Indicates if the item has to be displayed in the Settings Panel
939
-
940
- #### `label` (string)
941
-
942
- Indicates the label for the item that has to be displayed in the Settings Panel
943
-
944
- ### `minAnswerChoices` (number)
945
-
946
- Minimum number of answer choices
947
-
948
- ### `maxAnswerChoices` (number)
949
-
950
- Maximum number of answer choices
951
-
952
- ### `maxImageWidth` (object)
953
-
954
- Properties of the `maxImageWidth` object:
955
-
956
- #### `teacherInstructions` (number)
957
-
958
- Indicates the max dimension for images in teacher instructions
959
-
960
- #### `prompt` (number)
961
-
962
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
963
-
964
- #### `rationale` (number)
965
-
966
- Indicates the max dimension for images in rationale
967
-
968
- #### `choices` (number)
969
-
970
- Indicates the max dimension for images in choices
971
-
972
- ### `maxImageHeight` (object)
973
-
974
- Properties of the `maxImageHeight` object:
975
-
976
- #### `teacherInstructions` (number)
977
-
978
- Indicates the max dimension for images in teacher instructions
979
-
980
- #### `prompt` (number)
981
-
982
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
983
-
984
- #### `rationale` (number)
985
-
986
- Indicates the max dimension for images in rationale
987
-
988
- #### `choices` (number)
989
-
990
- Indicates the max dimension for images in choices
991
-
992
- ### `mathMlOptions` (object)
993
-
994
- Properties of the `mathMlOptions` object:
995
-
996
- #### `mmlOutput` (number)
997
-
998
- Indicates if model should have mathML output instead of latex
999
-
1000
- #### `mmlEditing` (number)
1001
-
1002
- Indicates if mathML that's already in model should be editable
1003
-
1004
- ### `baseInputConfiguration` (object)
1005
-
1006
- Properties of the `baseInputConfiguration` object:
1007
-
1008
- #### `math` (object)
1009
-
1010
- Properties of the `math` object:
1011
-
1012
- ##### `disabled` (boolean)
1013
-
1014
- Indicates if the plugin is disabled or not
1015
-
1016
- #### `audio` (object)
1017
-
1018
- Properties of the `audio` object:
1019
-
1020
- ##### `disabled` (boolean)
1021
-
1022
- Indicates if the plugin is disabled or not
1023
-
1024
- #### `video` (object)
1025
-
1026
- Properties of the `video` object:
1027
-
1028
- ##### `disabled` (boolean)
1029
-
1030
- Indicates if the plugin is disabled or not
1031
-
1032
- #### `image` (object)
1033
-
1034
- Properties of the `image` object:
1035
-
1036
- ##### `disabled` (boolean)
1037
-
1038
- Indicates if the plugin is disabled or not
1039
-
1040
- #### `customPlugins` (array)
1041
-
1042
- An array of objects that determine custom plugins.
1043
- A 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).
1044
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1045
-
1046
- The object is an array with all elements of the type `object`.
1047
-
1048
- The array object has the following properties:
1049
-
1050
- ##### `event` (string, required)
1051
-
1052
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1053
- PIE will emit the event prefixed with "PIE-".
1054
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1055
-
1056
- ##### `iconAlt` (string, required)
1057
-
1058
- The alt for the custom button icon
1059
-
1060
- ##### `iconType` (string, required)
1061
-
1062
- The icon type.
1063
- Currently, only "SVG" is supported.
1064
-
1065
- ##### `icon` (string, required)
1066
-
1067
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1068
-
1069
- #### `blockquote` (object)
1070
-
1071
- Properties of the `blockquote` object:
1072
-
1073
- ##### `disabled` (boolean)
1074
-
1075
- Indicates if the plugin is disabled or not
1076
-
1077
- #### `h3` (object)
1078
-
1079
- Properties of the `h3` object:
1080
-
1081
- ##### `disabled` (boolean)
1082
-
1083
- Indicates if the plugin is disabled or not
1084
-
1085
- #### `characters` (object)
1086
-
1087
- Properties of the `characters` object:
1088
-
1089
- ##### `disabled` (boolean)
1090
-
1091
- Indicates if the plugin is disabled or not
1092
-
1093
- #### `bold` (object)
1094
-
1095
- Properties of the `bold` object:
1096
-
1097
- ##### `disabled` (boolean)
1098
-
1099
- Indicates if the plugin is disabled or not
1100
-
1101
- #### `html` (object)
1102
-
1103
- Properties of the `html` object:
1104
-
1105
- ##### `disabled` (boolean)
1106
-
1107
- Indicates if the plugin is disabled or not
1108
-
1109
- #### `italic` (object)
1110
-
1111
- Properties of the `italic` object:
1112
-
1113
- ##### `disabled` (boolean)
1114
-
1115
- Indicates if the plugin is disabled or not
1116
-
1117
- #### `ol_list` (object)
1118
-
1119
- Properties of the `ol_list` object:
1120
-
1121
- ##### `disabled` (boolean)
1122
-
1123
- Indicates if the plugin is disabled or not
1124
-
1125
- #### `redo` (object)
1126
-
1127
- Properties of the `redo` object:
1128
-
1129
- ##### `disabled` (boolean)
1130
-
1131
- Indicates if the plugin is disabled or not
1132
-
1133
- #### `strikethrough` (object)
1134
-
1135
- Properties of the `strikethrough` object:
1136
-
1137
- ##### `disabled` (boolean)
1138
-
1139
- Indicates if the plugin is disabled or not
1140
-
1141
- #### `sub` (object)
1142
-
1143
- Properties of the `sub` object:
1144
-
1145
- ##### `disabled` (boolean)
1146
-
1147
- Indicates if the plugin is disabled or not
1148
-
1149
- #### `sup` (object)
1150
-
1151
- Properties of the `sup` object:
1152
-
1153
- ##### `disabled` (boolean)
1154
-
1155
- Indicates if the plugin is disabled or not
1156
-
1157
- #### `table` (object)
1158
-
1159
- Properties of the `table` object:
1160
-
1161
- ##### `disabled` (boolean)
1162
-
1163
- Indicates if the plugin is disabled or not
1164
-
1165
- #### `ul_list` (object)
1166
-
1167
- Properties of the `ul_list` object:
1168
-
1169
- ##### `disabled` (boolean)
1170
-
1171
- Indicates if the plugin is disabled or not
1172
-
1173
- #### `underline` (object)
1174
-
1175
- Properties of the `underline` object:
1176
-
1177
- ##### `disabled` (boolean)
1178
-
1179
- Indicates if the plugin is disabled or not
1180
-
1181
- #### `undo` (object)
1182
-
1183
- Properties of the `undo` object:
1184
-
1185
- ##### `disabled` (boolean)
1186
-
1187
- Indicates if the plugin is disabled or not
1188
-
1189
- ### `choices` (object)
1190
-
1191
- Properties of the `choices` object:
1192
-
1193
- #### `inputConfiguration` (object)
1194
-
1195
- Properties of the `inputConfiguration` object:
1196
-
1197
- ##### `math` (object)
1198
-
1199
- Properties of the `math` object:
1200
-
1201
- ###### `disabled` (boolean)
1202
-
1203
- Indicates if the plugin is disabled or not
1204
-
1205
- ##### `audio` (object)
1206
-
1207
- Properties of the `audio` object:
1208
-
1209
- ###### `disabled` (boolean)
1210
-
1211
- Indicates if the plugin is disabled or not
1212
-
1213
- ##### `video` (object)
1214
-
1215
- Properties of the `video` object:
1216
-
1217
- ###### `disabled` (boolean)
1218
-
1219
- Indicates if the plugin is disabled or not
1220
-
1221
- ##### `image` (object)
1222
-
1223
- Properties of the `image` object:
1224
-
1225
- ###### `disabled` (boolean)
1226
-
1227
- Indicates if the plugin is disabled or not
1228
-
1229
- ##### `customPlugins` (array)
1230
-
1231
- An array of objects that determine custom plugins.
1232
- A 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).
1233
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1234
-
1235
- The object is an array with all elements of the type `object`.
1236
-
1237
- The array object has the following properties:
1238
-
1239
- ###### `event` (string, required)
1240
-
1241
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1242
- PIE will emit the event prefixed with "PIE-".
1243
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1244
-
1245
- ###### `iconAlt` (string, required)
1246
-
1247
- The alt for the custom button icon
1248
-
1249
- ###### `iconType` (string, required)
1250
-
1251
- The icon type.
1252
- Currently, only "SVG" is supported.
1253
-
1254
- ###### `icon` (string, required)
1255
-
1256
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1257
-
1258
- ##### `blockquote` (object)
1259
-
1260
- Properties of the `blockquote` object:
1261
-
1262
- ###### `disabled` (boolean)
1263
-
1264
- Indicates if the plugin is disabled or not
1265
-
1266
- ##### `h3` (object)
1267
-
1268
- Properties of the `h3` object:
1269
-
1270
- ###### `disabled` (boolean)
1271
-
1272
- Indicates if the plugin is disabled or not
1273
-
1274
- ##### `characters` (object)
1275
-
1276
- Properties of the `characters` object:
1277
-
1278
- ###### `disabled` (boolean)
1279
-
1280
- Indicates if the plugin is disabled or not
1281
-
1282
- ##### `bold` (object)
1283
-
1284
- Properties of the `bold` object:
1285
-
1286
- ###### `disabled` (boolean)
1287
-
1288
- Indicates if the plugin is disabled or not
1289
-
1290
- ##### `html` (object)
1291
-
1292
- Properties of the `html` object:
1293
-
1294
- ###### `disabled` (boolean)
1295
-
1296
- Indicates if the plugin is disabled or not
1297
-
1298
- ##### `italic` (object)
1299
-
1300
- Properties of the `italic` object:
1301
-
1302
- ###### `disabled` (boolean)
1303
-
1304
- Indicates if the plugin is disabled or not
1305
-
1306
- ##### `ol_list` (object)
1307
-
1308
- Properties of the `ol_list` object:
1309
-
1310
- ###### `disabled` (boolean)
1311
-
1312
- Indicates if the plugin is disabled or not
1313
-
1314
- ##### `redo` (object)
1315
-
1316
- Properties of the `redo` object:
1317
-
1318
- ###### `disabled` (boolean)
1319
-
1320
- Indicates if the plugin is disabled or not
1321
-
1322
- ##### `strikethrough` (object)
1323
-
1324
- Properties of the `strikethrough` object:
1325
-
1326
- ###### `disabled` (boolean)
1327
-
1328
- Indicates if the plugin is disabled or not
1329
-
1330
- ##### `sub` (object)
1331
-
1332
- Properties of the `sub` object:
1333
-
1334
- ###### `disabled` (boolean)
1335
-
1336
- Indicates if the plugin is disabled or not
1337
-
1338
- ##### `sup` (object)
1339
-
1340
- Properties of the `sup` object:
1341
-
1342
- ###### `disabled` (boolean)
1343
-
1344
- Indicates if the plugin is disabled or not
1345
-
1346
- ##### `table` (object)
1347
-
1348
- Properties of the `table` object:
1349
-
1350
- ###### `disabled` (boolean)
1351
-
1352
- Indicates if the plugin is disabled or not
1353
-
1354
- ##### `ul_list` (object)
1355
-
1356
- Properties of the `ul_list` object:
1357
-
1358
- ###### `disabled` (boolean)
1359
-
1360
- Indicates if the plugin is disabled or not
1361
-
1362
- ##### `underline` (object)
1363
-
1364
- Properties of the `underline` object:
1365
-
1366
- ###### `disabled` (boolean)
1367
-
1368
- Indicates if the plugin is disabled or not
1369
-
1370
- ##### `undo` (object)
1371
-
1372
- Properties of the `undo` object:
1373
-
1374
- ###### `disabled` (boolean)
1375
-
1376
- Indicates if the plugin is disabled or not
1377
-
1378
- #### `settings` (boolean)
1379
-
1380
- Indicates if the item has to be displayed in the Settings Panel
1381
-
1382
- #### `label` (string)
1383
-
1384
- Indicates the label for the item that has to be displayed in the Settings Panel
1385
-
1386
- ## `ConfigureProp` (object)
1387
-
1388
- Properties of the `ConfigureProp` object:
1389
-
1390
- ### `settings` (boolean)
1391
-
1392
- Indicates if the item has to be displayed in the Settings Panel
1393
-
1394
- ### `label` (string)
1395
-
1396
- Indicates the label for the item that has to be displayed in the Settings Panel
1397
-
1398
- ## `EditableHtmlPluginConfigureRequired` (object)
1399
-
1400
- Properties of the `EditableHtmlPluginConfigureRequired` object:
1401
-
1402
- ### `inputConfiguration` (object)
1403
-
1404
- Properties of the `inputConfiguration` object:
1405
-
1406
- #### `math` (object)
1407
-
1408
- Properties of the `math` object:
1409
-
1410
- ##### `disabled` (boolean)
1411
-
1412
- Indicates if the plugin is disabled or not
1413
-
1414
- #### `audio` (object)
1415
-
1416
- Properties of the `audio` object:
1417
-
1418
- ##### `disabled` (boolean)
1419
-
1420
- Indicates if the plugin is disabled or not
1421
-
1422
- #### `video` (object)
1423
-
1424
- Properties of the `video` object:
1425
-
1426
- ##### `disabled` (boolean)
1427
-
1428
- Indicates if the plugin is disabled or not
1429
-
1430
- #### `image` (object)
1431
-
1432
- Properties of the `image` object:
1433
-
1434
- ##### `disabled` (boolean)
1435
-
1436
- Indicates if the plugin is disabled or not
1437
-
1438
- #### `customPlugins` (array)
1439
-
1440
- An array of objects that determine custom plugins.
1441
- A 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).
1442
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1443
-
1444
- The object is an array with all elements of the type `object`.
1445
-
1446
- The array object has the following properties:
1447
-
1448
- ##### `event` (string, required)
1449
-
1450
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1451
- PIE will emit the event prefixed with "PIE-".
1452
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1453
-
1454
- ##### `iconAlt` (string, required)
1455
-
1456
- The alt for the custom button icon
1457
-
1458
- ##### `iconType` (string, required)
1459
-
1460
- The icon type.
1461
- Currently, only "SVG" is supported.
1462
-
1463
- ##### `icon` (string, required)
1464
-
1465
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1466
-
1467
- #### `blockquote` (object)
1468
-
1469
- Properties of the `blockquote` object:
1470
-
1471
- ##### `disabled` (boolean)
1472
-
1473
- Indicates if the plugin is disabled or not
1474
-
1475
- #### `h3` (object)
1476
-
1477
- Properties of the `h3` object:
1478
-
1479
- ##### `disabled` (boolean)
1480
-
1481
- Indicates if the plugin is disabled or not
1482
-
1483
- #### `characters` (object)
1484
-
1485
- Properties of the `characters` object:
1486
-
1487
- ##### `disabled` (boolean)
1488
-
1489
- Indicates if the plugin is disabled or not
1490
-
1491
- #### `bold` (object)
1492
-
1493
- Properties of the `bold` object:
1494
-
1495
- ##### `disabled` (boolean)
1496
-
1497
- Indicates if the plugin is disabled or not
1498
-
1499
- #### `html` (object)
1500
-
1501
- Properties of the `html` object:
1502
-
1503
- ##### `disabled` (boolean)
1504
-
1505
- Indicates if the plugin is disabled or not
1506
-
1507
- #### `italic` (object)
1508
-
1509
- Properties of the `italic` object:
1510
-
1511
- ##### `disabled` (boolean)
1512
-
1513
- Indicates if the plugin is disabled or not
1514
-
1515
- #### `ol_list` (object)
1516
-
1517
- Properties of the `ol_list` object:
1518
-
1519
- ##### `disabled` (boolean)
1520
-
1521
- Indicates if the plugin is disabled or not
1522
-
1523
- #### `redo` (object)
1524
-
1525
- Properties of the `redo` object:
1526
-
1527
- ##### `disabled` (boolean)
1528
-
1529
- Indicates if the plugin is disabled or not
1530
-
1531
- #### `strikethrough` (object)
1532
-
1533
- Properties of the `strikethrough` object:
1534
-
1535
- ##### `disabled` (boolean)
1536
-
1537
- Indicates if the plugin is disabled or not
1538
-
1539
- #### `sub` (object)
1540
-
1541
- Properties of the `sub` object:
1542
-
1543
- ##### `disabled` (boolean)
1544
-
1545
- Indicates if the plugin is disabled or not
1546
-
1547
- #### `sup` (object)
1548
-
1549
- Properties of the `sup` object:
1550
-
1551
- ##### `disabled` (boolean)
1552
-
1553
- Indicates if the plugin is disabled or not
1554
-
1555
- #### `table` (object)
1556
-
1557
- Properties of the `table` object:
1558
-
1559
- ##### `disabled` (boolean)
1560
-
1561
- Indicates if the plugin is disabled or not
1562
-
1563
- #### `ul_list` (object)
1564
-
1565
- Properties of the `ul_list` object:
1566
-
1567
- ##### `disabled` (boolean)
1568
-
1569
- Indicates if the plugin is disabled or not
1570
-
1571
- #### `underline` (object)
1572
-
1573
- Properties of the `underline` object:
1574
-
1575
- ##### `disabled` (boolean)
1576
-
1577
- Indicates if the plugin is disabled or not
1578
-
1579
- #### `undo` (object)
1580
-
1581
- Properties of the `undo` object:
1582
-
1583
- ##### `disabled` (boolean)
1584
-
1585
- Indicates if the plugin is disabled or not
1586
-
1587
- ### `required` (boolean)
1588
-
1589
- Indicates if the item is required and the value cannot be empty
1590
-
1591
- ### `settings` (boolean)
1592
-
1593
- Indicates if the item has to be displayed in the Settings Panel
1594
-
1595
- ### `label` (string)
1596
-
1597
- Indicates the label for the item that has to be displayed in the Settings Panel
1598
-
1599
- ## `EditableHtmlConfigureProp` (object)
1600
-
1601
- Properties of the `EditableHtmlConfigureProp` object:
1602
-
1603
- ### `math` (object)
1604
-
1605
- Properties of the `math` object:
1606
-
1607
- #### `disabled` (boolean)
1608
-
1609
- Indicates if the plugin is disabled or not
1610
-
1611
- ### `audio` (object)
1612
-
1613
- Properties of the `audio` object:
1614
-
1615
- #### `disabled` (boolean)
1616
-
1617
- Indicates if the plugin is disabled or not
1618
-
1619
- ### `video` (object)
1620
-
1621
- Properties of the `video` object:
1622
-
1623
- #### `disabled` (boolean)
1624
-
1625
- Indicates if the plugin is disabled or not
1626
-
1627
- ### `image` (object)
1628
-
1629
- Properties of the `image` object:
1630
-
1631
- #### `disabled` (boolean)
1632
-
1633
- Indicates if the plugin is disabled or not
1634
-
1635
- ### `customPlugins` (array)
1636
-
1637
- An array of objects that determine custom plugins.
1638
- A 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).
1639
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1640
-
1641
- The object is an array with all elements of the type `object`.
1642
-
1643
- The array object has the following properties:
1644
-
1645
- #### `event` (string, required)
1646
-
1647
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1648
- PIE will emit the event prefixed with "PIE-".
1649
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1650
-
1651
- #### `iconAlt` (string, required)
1652
-
1653
- The alt for the custom button icon
1654
-
1655
- #### `iconType` (string, required)
1656
-
1657
- The icon type.
1658
- Currently, only "SVG" is supported.
1659
-
1660
- #### `icon` (string, required)
1661
-
1662
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1663
-
1664
- ### `blockquote` (object)
1665
-
1666
- Properties of the `blockquote` object:
1667
-
1668
- #### `disabled` (boolean)
1669
-
1670
- Indicates if the plugin is disabled or not
1671
-
1672
- ### `h3` (object)
1673
-
1674
- Properties of the `h3` object:
1675
-
1676
- #### `disabled` (boolean)
1677
-
1678
- Indicates if the plugin is disabled or not
1679
-
1680
- ### `characters` (object)
1681
-
1682
- Properties of the `characters` object:
1683
-
1684
- #### `disabled` (boolean)
1685
-
1686
- Indicates if the plugin is disabled or not
1687
-
1688
- ### `bold` (object)
1689
-
1690
- Properties of the `bold` object:
1691
-
1692
- #### `disabled` (boolean)
1693
-
1694
- Indicates if the plugin is disabled or not
1695
-
1696
- ### `html` (object)
1697
-
1698
- Properties of the `html` object:
1699
-
1700
- #### `disabled` (boolean)
1701
-
1702
- Indicates if the plugin is disabled or not
1703
-
1704
- ### `italic` (object)
1705
-
1706
- Properties of the `italic` object:
1707
-
1708
- #### `disabled` (boolean)
1709
-
1710
- Indicates if the plugin is disabled or not
1711
-
1712
- ### `ol_list` (object)
1713
-
1714
- Properties of the `ol_list` object:
1715
-
1716
- #### `disabled` (boolean)
1717
-
1718
- Indicates if the plugin is disabled or not
1719
-
1720
- ### `redo` (object)
1721
-
1722
- Properties of the `redo` object:
1723
-
1724
- #### `disabled` (boolean)
1725
-
1726
- Indicates if the plugin is disabled or not
1727
-
1728
- ### `strikethrough` (object)
1729
-
1730
- Properties of the `strikethrough` object:
1731
-
1732
- #### `disabled` (boolean)
1733
-
1734
- Indicates if the plugin is disabled or not
1735
-
1736
- ### `sub` (object)
1737
-
1738
- Properties of the `sub` object:
1739
-
1740
- #### `disabled` (boolean)
1741
-
1742
- Indicates if the plugin is disabled or not
1743
-
1744
- ### `sup` (object)
1745
-
1746
- Properties of the `sup` object:
1747
-
1748
- #### `disabled` (boolean)
1749
-
1750
- Indicates if the plugin is disabled or not
1751
-
1752
- ### `table` (object)
1753
-
1754
- Properties of the `table` object:
1755
-
1756
- #### `disabled` (boolean)
1757
-
1758
- Indicates if the plugin is disabled or not
1759
-
1760
- ### `ul_list` (object)
1761
-
1762
- Properties of the `ul_list` object:
1763
-
1764
- #### `disabled` (boolean)
1765
-
1766
- Indicates if the plugin is disabled or not
1767
-
1768
- ### `underline` (object)
1769
-
1770
- Properties of the `underline` object:
1771
-
1772
- #### `disabled` (boolean)
1773
-
1774
- Indicates if the plugin is disabled or not
1775
-
1776
- ### `undo` (object)
1777
-
1778
- Properties of the `undo` object:
1779
-
1780
- #### `disabled` (boolean)
1781
-
1782
- Indicates if the plugin is disabled or not
1783
-
1784
- ## `EditableHtmlButtonConfigure` (object)
1785
-
1786
- Properties of the `EditableHtmlButtonConfigure` object:
1787
-
1788
- ### `disabled` (boolean)
1789
-
1790
- Indicates if the plugin is disabled or not
1791
-
1792
- ## `CustomPlugin` (object)
1793
-
1794
- Properties of the `CustomPlugin` object:
1795
-
1796
- ### `event` (string, required)
1797
-
1798
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1799
- PIE will emit the event prefixed with "PIE-".
1800
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1801
-
1802
- ### `iconAlt` (string, required)
1803
-
1804
- The alt for the custom button icon
1805
-
1806
- ### `iconType` (string, required)
1807
-
1808
- The icon type.
1809
- Currently, only "SVG" is supported.
1810
-
1811
- ### `icon` (string, required)
1812
-
1813
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1814
-
1815
- ## `ConfigureMaxImageDimensionsProp` (object)
1816
-
1817
- Properties of the `ConfigureMaxImageDimensionsProp` object:
1818
-
1819
- ### `teacherInstructions` (number)
1820
-
1821
- Indicates the max dimension for images in teacher instructions
1822
-
1823
- ### `prompt` (number)
1824
-
1825
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
1826
-
1827
- ### `rationale` (number)
1828
-
1829
- Indicates the max dimension for images in rationale
1830
-
1831
- ### `choices` (number)
1832
-
1833
- Indicates the max dimension for images in choices
1834
-
1835
- ## `ConfigureMathMLProp` (object)
1836
-
1837
- Properties of the `ConfigureMathMLProp` object:
1838
-
1839
- ### `mmlOutput` (number)
1840
-
1841
- Indicates if model should have mathML output instead of latex
1842
-
1843
- ### `mmlEditing` (number)
1844
-
1845
- Indicates if mathML that's already in model should be editable
1846
-
1847
- ## `EditableHtmlPluginConfigure` (object)
1848
-
1849
- Properties of the `EditableHtmlPluginConfigure` object:
1850
-
1851
- ### `inputConfiguration` (object)
1852
-
1853
- Properties of the `inputConfiguration` object:
1854
-
1855
- #### `math` (object)
1856
-
1857
- Properties of the `math` object:
1858
-
1859
- ##### `disabled` (boolean)
1860
-
1861
- Indicates if the plugin is disabled or not
1862
-
1863
- #### `audio` (object)
1864
-
1865
- Properties of the `audio` object:
1866
-
1867
- ##### `disabled` (boolean)
1868
-
1869
- Indicates if the plugin is disabled or not
1870
-
1871
- #### `video` (object)
1872
-
1873
- Properties of the `video` object:
1874
-
1875
- ##### `disabled` (boolean)
1876
-
1877
- Indicates if the plugin is disabled or not
1878
-
1879
- #### `image` (object)
1880
-
1881
- Properties of the `image` object:
1882
-
1883
- ##### `disabled` (boolean)
1884
-
1885
- Indicates if the plugin is disabled or not
1886
-
1887
- #### `customPlugins` (array)
1888
-
1889
- An array of objects that determine custom plugins.
1890
- A 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).
1891
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
1892
-
1893
- The object is an array with all elements of the type `object`.
1894
-
1895
- The array object has the following properties:
1896
-
1897
- ##### `event` (string, required)
1898
-
1899
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
1900
- PIE will emit the event prefixed with "PIE-".
1901
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
1902
-
1903
- ##### `iconAlt` (string, required)
1904
-
1905
- The alt for the custom button icon
1906
-
1907
- ##### `iconType` (string, required)
1908
-
1909
- The icon type.
1910
- Currently, only "SVG" is supported.
1911
-
1912
- ##### `icon` (string, required)
1913
-
1914
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
1915
-
1916
- #### `blockquote` (object)
1917
-
1918
- Properties of the `blockquote` object:
1919
-
1920
- ##### `disabled` (boolean)
1921
-
1922
- Indicates if the plugin is disabled or not
1923
-
1924
- #### `h3` (object)
1925
-
1926
- Properties of the `h3` object:
1927
-
1928
- ##### `disabled` (boolean)
1929
-
1930
- Indicates if the plugin is disabled or not
1931
-
1932
- #### `characters` (object)
1933
-
1934
- Properties of the `characters` object:
1935
-
1936
- ##### `disabled` (boolean)
1937
-
1938
- Indicates if the plugin is disabled or not
1939
-
1940
- #### `bold` (object)
1941
-
1942
- Properties of the `bold` object:
1943
-
1944
- ##### `disabled` (boolean)
1945
-
1946
- Indicates if the plugin is disabled or not
1947
-
1948
- #### `html` (object)
1949
-
1950
- Properties of the `html` object:
1951
-
1952
- ##### `disabled` (boolean)
1953
-
1954
- Indicates if the plugin is disabled or not
1955
-
1956
- #### `italic` (object)
1957
-
1958
- Properties of the `italic` object:
1959
-
1960
- ##### `disabled` (boolean)
1961
-
1962
- Indicates if the plugin is disabled or not
1963
-
1964
- #### `ol_list` (object)
1965
-
1966
- Properties of the `ol_list` object:
1967
-
1968
- ##### `disabled` (boolean)
1969
-
1970
- Indicates if the plugin is disabled or not
1971
-
1972
- #### `redo` (object)
1973
-
1974
- Properties of the `redo` object:
1975
-
1976
- ##### `disabled` (boolean)
1977
-
1978
- Indicates if the plugin is disabled or not
1979
-
1980
- #### `strikethrough` (object)
1981
-
1982
- Properties of the `strikethrough` object:
1983
-
1984
- ##### `disabled` (boolean)
1985
-
1986
- Indicates if the plugin is disabled or not
1987
-
1988
- #### `sub` (object)
1989
-
1990
- Properties of the `sub` object:
1991
-
1992
- ##### `disabled` (boolean)
1993
-
1994
- Indicates if the plugin is disabled or not
1995
-
1996
- #### `sup` (object)
1997
-
1998
- Properties of the `sup` object:
1999
-
2000
- ##### `disabled` (boolean)
2001
-
2002
- Indicates if the plugin is disabled or not
2003
-
2004
- #### `table` (object)
2005
-
2006
- Properties of the `table` object:
2007
-
2008
- ##### `disabled` (boolean)
2009
-
2010
- Indicates if the plugin is disabled or not
2011
-
2012
- #### `ul_list` (object)
2013
-
2014
- Properties of the `ul_list` object:
2015
-
2016
- ##### `disabled` (boolean)
2017
-
2018
- Indicates if the plugin is disabled or not
2019
-
2020
- #### `underline` (object)
2021
-
2022
- Properties of the `underline` object:
2023
-
2024
- ##### `disabled` (boolean)
2025
-
2026
- Indicates if the plugin is disabled or not
2027
-
2028
- #### `undo` (object)
2029
-
2030
- Properties of the `undo` object:
2031
-
2032
- ##### `disabled` (boolean)
2033
-
2034
- Indicates if the plugin is disabled or not
2035
-
2036
- ### `settings` (boolean)
2037
-
2038
- Indicates if the item has to be displayed in the Settings Panel
2039
-
2040
- ### `label` (string)
2041
-
2042
- Indicates the label for the item that has to be displayed in the Settings Panel
2043
-
2044
- ## `Part` (object)
2045
-
2046
- Properties of the `Part` object:
2047
-
2048
- ### `choiceMode` (string, enum, required)
2049
-
2050
- Indicates the choices are single or multiple selection
2051
-
2052
- This element must be one of the following enum values:
2053
-
2054
- * `checkbox`
2055
- * `radio`
2056
-
2057
- ### `choices` (array, required)
2058
-
2059
- Array of all the available choices
2060
-
2061
- The object is an array with all elements of the type `object`.
2062
-
2063
- The array object has the following properties:
2064
-
2065
- #### `value` (string, required)
2066
-
2067
- The value for the choice
2068
-
2069
- #### `label` (string, required)
2070
-
2071
- The label of the choice
2072
-
2073
- #### `correct` (boolean)
2074
-
2075
- Indicates if choice is correct
2076
-
2077
- ### `choicePrefix` (string, enum, required)
2078
-
2079
- What key should be displayed before choices.
2080
-
2081
- This element must be one of the following enum values:
2082
-
2083
- * `letters`
2084
- * `numbers`
2085
-
2086
- ### `prompt` (string, required)
2087
-
2088
- The question prompt or item stem
2089
-
2090
- ### `promptEnabled` (boolean)
2091
-
2092
- Indicates if the prompt is enabled
2093
-
2094
- ### `studentInstructions` (string)
2095
-
2096
- Indicates student instructions
2097
-
2098
- ### `teacherInstructions` (string)
2099
-
2100
- Indicates teacher instructions
2101
-
2102
- ### `feedbackEnabled` (boolean, required)
2103
-
2104
- Indicates if Feedback is enabled
2105
-
2106
- ### `rationaleEnabled` (boolean, required)
2107
-
2108
- Indicates if Rationale are enabled
2109
-
2110
- ### `spellCheckEnabled` (boolean, required)
2111
-
2112
- Indicates if spellcheck is enabled for the author. Default value is true
2113
-
2114
- ### `studentInstructionsEnabled` (boolean, required)
2115
-
2116
- Indicates if Student Instructions are enabled
2117
-
2118
- ### `teacherInstructionsEnabled` (boolean, required)
2119
-
2120
- Indicates if Teacher Instructions are enabled
2121
-
2122
- ### `verticalMode` (boolean)
2123
-
2124
- Indicates the layout of choices for player
2125
-
2126
- Default: `": true"`
2127
-
2128
- ## `Choice` (object)
2129
-
2130
- Properties of the `Choice` object:
2131
-
2132
- ### `value` (string, required)
2133
-
2134
- The value for the choice
2135
-
2136
- ### `label` (string, required)
2137
-
2138
- The label of the choice
2139
-
2140
- ### `correct` (boolean)
2141
-
2142
- Indicates if choice is correct