@pie-element/charting 12.1.1-next.11 → 12.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 (228) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/charting-config.d.ts +30 -0
  4. package/dist/author/charting-config.js +126 -0
  5. package/dist/author/configure.d.ts +29 -0
  6. package/dist/author/configure.js +205 -0
  7. package/dist/author/correct-response.d.ts +27 -0
  8. package/dist/author/correct-response.js +116 -0
  9. package/dist/author/defaults.d.ts +229 -0
  10. package/dist/author/defaults.js +186 -0
  11. package/dist/author/index.d.ts +51 -0
  12. package/dist/author/index.js +74 -0
  13. package/dist/author/utils.d.ts +42 -0
  14. package/dist/author/utils.js +244 -0
  15. package/dist/browser/_baseSet-Cse6EM9A.js +1015 -0
  16. package/dist/browser/_baseSet-Cse6EM9A.js.map +1 -0
  17. package/dist/browser/author/index.js +1242 -0
  18. package/dist/browser/author/index.js.map +1 -0
  19. package/dist/browser/chart-Dghjf6JQ.js +62980 -0
  20. package/dist/browser/chart-Dghjf6JQ.js.map +1 -0
  21. package/dist/browser/charting.css +2 -0
  22. package/dist/browser/controller/index.js +233 -0
  23. package/dist/browser/controller/index.js.map +1 -0
  24. package/dist/browser/delivery/index.js +517 -0
  25. package/dist/browser/delivery/index.js.map +1 -0
  26. package/dist/charting.css +2 -0
  27. package/dist/controller/defaults.d.ts +44 -0
  28. package/dist/controller/defaults.js +33 -0
  29. package/dist/controller/index.d.ts +28 -0
  30. package/dist/controller/index.js +155 -0
  31. package/dist/delivery/index.d.ts +21 -0
  32. package/dist/delivery/index.js +46 -0
  33. package/dist/delivery/main.d.ts +23 -0
  34. package/dist/delivery/main.js +128 -0
  35. package/dist/index.d.ts +1 -0
  36. package/dist/index.iife.d.ts +8 -0
  37. package/dist/index.iife.js +397 -0
  38. package/dist/index.js +2 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js +10 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseHasIn.js +6 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -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/_basePick.js +10 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_basePickBy.js +13 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_flatRest.js +9 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hasPath.js +18 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/flatten.js +7 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/hasIn.js +8 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/pick.js +8 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  190. package/package.json +81 -20
  191. package/CHANGELOG.json +0 -487
  192. package/CHANGELOG.md +0 -1991
  193. package/LICENSE.md +0 -5
  194. package/README.md +0 -1
  195. package/configure/CHANGELOG.json +0 -292
  196. package/configure/CHANGELOG.md +0 -1758
  197. package/configure/lib/charting-config.js +0 -192
  198. package/configure/lib/charting-config.js.map +0 -1
  199. package/configure/lib/configure.js +0 -312
  200. package/configure/lib/configure.js.map +0 -1
  201. package/configure/lib/correct-response.js +0 -244
  202. package/configure/lib/correct-response.js.map +0 -1
  203. package/configure/lib/defaults.js +0 -233
  204. package/configure/lib/defaults.js.map +0 -1
  205. package/configure/lib/index.js +0 -120
  206. package/configure/lib/index.js.map +0 -1
  207. package/configure/lib/utils.js +0 -80
  208. package/configure/lib/utils.js.map +0 -1
  209. package/configure/package.json +0 -29
  210. package/controller/CHANGELOG.json +0 -262
  211. package/controller/CHANGELOG.md +0 -1208
  212. package/controller/lib/defaults.js +0 -42
  213. package/controller/lib/defaults.js.map +0 -1
  214. package/controller/lib/index.js +0 -434
  215. package/controller/lib/index.js.map +0 -1
  216. package/controller/package.json +0 -24
  217. package/docs/config-schema.json +0 -2440
  218. package/docs/config-schema.json.md +0 -1802
  219. package/docs/demo/config.js +0 -8
  220. package/docs/demo/generate.js +0 -63
  221. package/docs/demo/index.html +0 -1
  222. package/docs/demo/session.js +0 -26
  223. package/docs/pie-schema.json +0 -1731
  224. package/docs/pie-schema.json.md +0 -945
  225. package/lib/index.js +0 -78
  226. package/lib/index.js.map +0 -1
  227. package/lib/main.js +0 -167
  228. package/lib/main.js.map +0 -1
@@ -1,945 +0,0 @@
1
- Model Object for @pie-elements/charting
2
-
3
- The schema defines the following properties:
4
-
5
- # `addCategoryEnabled` (boolean, required)
6
-
7
- Indicates if user can add more categories
8
-
9
- # `chartType` (string, enum, required)
10
-
11
- This element must be one of the following enum values:
12
-
13
- * `bar`
14
- * `dorPlot`
15
- * `histogram`
16
- * `lineCross`
17
- * `lineDot`
18
- * `linePlot`
19
-
20
- # `correctAnswer` (object, required)
21
-
22
- Properties of the `correctAnswer` object:
23
-
24
- ## `name` (string, required)
25
-
26
- Indicates name of answer
27
-
28
- ## `data` (array, required)
29
-
30
- Indicates marks for the answer
31
-
32
- Additional restrictions:
33
-
34
- * Minimum items: `1`
35
-
36
- # `data` (array, required)
37
-
38
- Indicates default categories for the answer
39
-
40
- Additional restrictions:
41
-
42
- * Minimum items: `1`
43
-
44
- # `domain` (object, required)
45
-
46
- Properties of the `domain` object:
47
-
48
- ## `min` (number, required)
49
-
50
- Min value
51
-
52
- ## `max` (number, required)
53
-
54
- Max value
55
-
56
- ## `step` (number, required)
57
-
58
- Step value
59
-
60
- ## `labelStep` (number, required)
61
-
62
- Label step value
63
-
64
- ## `axisLabel` (string, required)
65
-
66
- Axis Label
67
-
68
- # `graph` (object, required)
69
-
70
- Properties of the `graph` object:
71
-
72
- ## `width` (number, required)
73
-
74
- Width for chart representation
75
-
76
- ## `height` (number, required)
77
-
78
- Height for chart representation
79
-
80
- # `prompt` (string)
81
-
82
- Indicates prompt value
83
-
84
- # `promptEnabled` (boolean)
85
-
86
- Indicates if the prompt is enabled
87
-
88
- # `range` (object, required)
89
-
90
- Properties of the `range` object:
91
-
92
- ## `min` (number, required)
93
-
94
- Min value
95
-
96
- ## `max` (number, required)
97
-
98
- Max value
99
-
100
- ## `step` (number, required)
101
-
102
- Step value
103
-
104
- ## `labelStep` (number, required)
105
-
106
- Label step value
107
-
108
- ## `axisLabel` (string, required)
109
-
110
- Axis Label
111
-
112
- # `rationale` (string)
113
-
114
- Indicates rationale for the answer
115
-
116
- # `scoringType` (string, enum)
117
-
118
- Indicates scoring type
119
-
120
- This element must be one of the following enum values:
121
-
122
- * `all or nothing`
123
- * `partial scoring`
124
-
125
- # `studentInstructions` (string)
126
-
127
- Indicates student instructions
128
-
129
- # `teacherInstructions` (string)
130
-
131
- Indicates teacher instructions
132
-
133
- # `title` (string)
134
-
135
- Indicates chart title
136
-
137
- # `placeholderMessages` (object)
138
-
139
- Properties of the `placeholderMessages` object:
140
-
141
- ## `title` (string, required)
142
-
143
- Indicates placeholder message if title is not defined
144
-
145
- ## `labels` (string, required)
146
-
147
- Indicates placeholder message if labels for range or domain are not defined
148
-
149
- # `rationaleEnabled` (boolean, required)
150
-
151
- Indicates if Rationale are enabled
152
-
153
- # `spellCheckEnabled` (boolean, required)
154
-
155
- Indicates if spellcheck is enabled for the author. Default value is true
156
-
157
- # `studentInstructionsEnabled` (boolean, required)
158
-
159
- Indicates if Student Instructions are enabled
160
-
161
- # `teacherInstructionsEnabled` (boolean, required)
162
-
163
- Indicates if Teacher Instructions are enabled
164
-
165
- # `rubricEnabled` (boolean, required)
166
-
167
- Indicates if Rubric is enabled
168
-
169
- # `changeInteractiveEnabled` (boolean, required)
170
-
171
- Indicates if teacher can enable/disable data[]:interactive. Default value is false
172
-
173
- # `changeEditableEnabled` (boolean, required)
174
-
175
- Indicates if teacher can enable/disable data[]:editable. Default value is false
176
-
177
- # `changeAddCategoryEnabled` (boolean, required)
178
-
179
- Indicates if teacher can enable/disable addCategoryEnabled. Default value is false
180
-
181
- # `studentNewCategoryDefaultLabel` (string, required)
182
-
183
- Label for new category in correct response and player's chart
184
-
185
- # `language` (string)
186
-
187
- Indicates the language of the component
188
- Supported options: en, es, en_US, en-US, es_ES, es-ES, es_MX, es-MX
189
-
190
- # `id` (string, required)
191
-
192
- Identifier to identify the Pie Element in html markup, Must be unique within a pie item config.
193
-
194
- # `element` (string, required)
195
-
196
- The html Element tag name
197
-
198
- ---
199
-
200
- # Sub Schemas
201
-
202
- The schema defines the following additional types:
203
-
204
- ## `EditableHtmlConfigureProp` (object)
205
-
206
- Properties of the `EditableHtmlConfigureProp` object:
207
-
208
- ### `math` (object)
209
-
210
- Properties of the `math` object:
211
-
212
- #### `disabled` (boolean)
213
-
214
- Indicates if the plugin is disabled or not
215
-
216
- ### `audio` (object)
217
-
218
- Properties of the `audio` object:
219
-
220
- #### `disabled` (boolean)
221
-
222
- Indicates if the plugin is disabled or not
223
-
224
- ### `video` (object)
225
-
226
- Properties of the `video` object:
227
-
228
- #### `disabled` (boolean)
229
-
230
- Indicates if the plugin is disabled or not
231
-
232
- ### `image` (object)
233
-
234
- Properties of the `image` object:
235
-
236
- #### `disabled` (boolean)
237
-
238
- Indicates if the plugin is disabled or not
239
-
240
- ### `customPlugins` (array)
241
-
242
- An array of objects that determine custom plugins.
243
- 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).
244
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
245
-
246
- The object is an array with all elements of the type `object`.
247
-
248
- The array object has the following properties:
249
-
250
- #### `event` (string, required)
251
-
252
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
253
- PIE will emit the event prefixed with "PIE-".
254
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
255
-
256
- #### `iconAlt` (string, required)
257
-
258
- The alt for the custom button icon
259
-
260
- #### `iconType` (string, required)
261
-
262
- The icon type.
263
- Currently, only "SVG" is supported.
264
-
265
- #### `icon` (string, required)
266
-
267
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
268
-
269
- ### `blockquote` (object)
270
-
271
- Properties of the `blockquote` object:
272
-
273
- #### `disabled` (boolean)
274
-
275
- Indicates if the plugin is disabled or not
276
-
277
- ### `h3` (object)
278
-
279
- Properties of the `h3` object:
280
-
281
- #### `disabled` (boolean)
282
-
283
- Indicates if the plugin is disabled or not
284
-
285
- ### `characters` (object)
286
-
287
- Properties of the `characters` object:
288
-
289
- #### `disabled` (boolean)
290
-
291
- Indicates if the plugin is disabled or not
292
-
293
- ### `bold` (object)
294
-
295
- Properties of the `bold` object:
296
-
297
- #### `disabled` (boolean)
298
-
299
- Indicates if the plugin is disabled or not
300
-
301
- ### `html` (object)
302
-
303
- Properties of the `html` object:
304
-
305
- #### `disabled` (boolean)
306
-
307
- Indicates if the plugin is disabled or not
308
-
309
- ### `italic` (object)
310
-
311
- Properties of the `italic` object:
312
-
313
- #### `disabled` (boolean)
314
-
315
- Indicates if the plugin is disabled or not
316
-
317
- ### `ol_list` (object)
318
-
319
- Properties of the `ol_list` object:
320
-
321
- #### `disabled` (boolean)
322
-
323
- Indicates if the plugin is disabled or not
324
-
325
- ### `redo` (object)
326
-
327
- Properties of the `redo` object:
328
-
329
- #### `disabled` (boolean)
330
-
331
- Indicates if the plugin is disabled or not
332
-
333
- ### `strikethrough` (object)
334
-
335
- Properties of the `strikethrough` object:
336
-
337
- #### `disabled` (boolean)
338
-
339
- Indicates if the plugin is disabled or not
340
-
341
- ### `sub` (object)
342
-
343
- Properties of the `sub` object:
344
-
345
- #### `disabled` (boolean)
346
-
347
- Indicates if the plugin is disabled or not
348
-
349
- ### `sup` (object)
350
-
351
- Properties of the `sup` object:
352
-
353
- #### `disabled` (boolean)
354
-
355
- Indicates if the plugin is disabled or not
356
-
357
- ### `table` (object)
358
-
359
- Properties of the `table` object:
360
-
361
- #### `disabled` (boolean)
362
-
363
- Indicates if the plugin is disabled or not
364
-
365
- ### `ul_list` (object)
366
-
367
- Properties of the `ul_list` object:
368
-
369
- #### `disabled` (boolean)
370
-
371
- Indicates if the plugin is disabled or not
372
-
373
- ### `underline` (object)
374
-
375
- Properties of the `underline` object:
376
-
377
- #### `disabled` (boolean)
378
-
379
- Indicates if the plugin is disabled or not
380
-
381
- ### `undo` (object)
382
-
383
- Properties of the `undo` object:
384
-
385
- #### `disabled` (boolean)
386
-
387
- Indicates if the plugin is disabled or not
388
-
389
- ## `EditableHtmlButtonConfigure` (object)
390
-
391
- Properties of the `EditableHtmlButtonConfigure` object:
392
-
393
- ### `disabled` (boolean)
394
-
395
- Indicates if the plugin is disabled or not
396
-
397
- ## `CustomPlugin` (object)
398
-
399
- Properties of the `CustomPlugin` object:
400
-
401
- ### `event` (string, required)
402
-
403
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
404
- PIE will emit the event prefixed with "PIE-".
405
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
406
-
407
- ### `iconAlt` (string, required)
408
-
409
- The alt for the custom button icon
410
-
411
- ### `iconType` (string, required)
412
-
413
- The icon type.
414
- Currently, only "SVG" is supported.
415
-
416
- ### `icon` (string, required)
417
-
418
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
419
-
420
- ## `EditableHtmlPluginConfigureRequired` (object)
421
-
422
- Properties of the `EditableHtmlPluginConfigureRequired` object:
423
-
424
- ### `inputConfiguration` (object)
425
-
426
- Properties of the `inputConfiguration` object:
427
-
428
- #### `math` (object)
429
-
430
- Properties of the `math` object:
431
-
432
- ##### `disabled` (boolean)
433
-
434
- Indicates if the plugin is disabled or not
435
-
436
- #### `audio` (object)
437
-
438
- Properties of the `audio` object:
439
-
440
- ##### `disabled` (boolean)
441
-
442
- Indicates if the plugin is disabled or not
443
-
444
- #### `video` (object)
445
-
446
- Properties of the `video` object:
447
-
448
- ##### `disabled` (boolean)
449
-
450
- Indicates if the plugin is disabled or not
451
-
452
- #### `image` (object)
453
-
454
- Properties of the `image` object:
455
-
456
- ##### `disabled` (boolean)
457
-
458
- Indicates if the plugin is disabled or not
459
-
460
- #### `customPlugins` (array)
461
-
462
- An array of objects that determine custom plugins.
463
- 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).
464
- Example can be found at https://github.com/pie-framework/pie-lib/blob/develop/packages/demo/pages/editable-html.js#L425.
465
-
466
- The object is an array with all elements of the type `object`.
467
-
468
- The array object has the following properties:
469
-
470
- ##### `event` (string, required)
471
-
472
- The name of the custom event. It needs to be valid (only letters, numbers and "_" can be used).
473
- PIE will emit the event prefixed with "PIE-".
474
- Eg: event = 'client_custom_event_A' => the emitted event will be "PIE-client_custom_event_A"
475
-
476
- ##### `iconAlt` (string, required)
477
-
478
- The alt for the custom button icon
479
-
480
- ##### `iconType` (string, required)
481
-
482
- The icon type.
483
- Currently, only "SVG" is supported.
484
-
485
- ##### `icon` (string, required)
486
-
487
- The icon string. Currently, only "SVG" is supported, so it needs to be a valid svg.
488
-
489
- #### `blockquote` (object)
490
-
491
- Properties of the `blockquote` object:
492
-
493
- ##### `disabled` (boolean)
494
-
495
- Indicates if the plugin is disabled or not
496
-
497
- #### `h3` (object)
498
-
499
- Properties of the `h3` object:
500
-
501
- ##### `disabled` (boolean)
502
-
503
- Indicates if the plugin is disabled or not
504
-
505
- #### `characters` (object)
506
-
507
- Properties of the `characters` object:
508
-
509
- ##### `disabled` (boolean)
510
-
511
- Indicates if the plugin is disabled or not
512
-
513
- #### `bold` (object)
514
-
515
- Properties of the `bold` object:
516
-
517
- ##### `disabled` (boolean)
518
-
519
- Indicates if the plugin is disabled or not
520
-
521
- #### `html` (object)
522
-
523
- Properties of the `html` object:
524
-
525
- ##### `disabled` (boolean)
526
-
527
- Indicates if the plugin is disabled or not
528
-
529
- #### `italic` (object)
530
-
531
- Properties of the `italic` object:
532
-
533
- ##### `disabled` (boolean)
534
-
535
- Indicates if the plugin is disabled or not
536
-
537
- #### `ol_list` (object)
538
-
539
- Properties of the `ol_list` object:
540
-
541
- ##### `disabled` (boolean)
542
-
543
- Indicates if the plugin is disabled or not
544
-
545
- #### `redo` (object)
546
-
547
- Properties of the `redo` object:
548
-
549
- ##### `disabled` (boolean)
550
-
551
- Indicates if the plugin is disabled or not
552
-
553
- #### `strikethrough` (object)
554
-
555
- Properties of the `strikethrough` object:
556
-
557
- ##### `disabled` (boolean)
558
-
559
- Indicates if the plugin is disabled or not
560
-
561
- #### `sub` (object)
562
-
563
- Properties of the `sub` object:
564
-
565
- ##### `disabled` (boolean)
566
-
567
- Indicates if the plugin is disabled or not
568
-
569
- #### `sup` (object)
570
-
571
- Properties of the `sup` object:
572
-
573
- ##### `disabled` (boolean)
574
-
575
- Indicates if the plugin is disabled or not
576
-
577
- #### `table` (object)
578
-
579
- Properties of the `table` object:
580
-
581
- ##### `disabled` (boolean)
582
-
583
- Indicates if the plugin is disabled or not
584
-
585
- #### `ul_list` (object)
586
-
587
- Properties of the `ul_list` object:
588
-
589
- ##### `disabled` (boolean)
590
-
591
- Indicates if the plugin is disabled or not
592
-
593
- #### `underline` (object)
594
-
595
- Properties of the `underline` object:
596
-
597
- ##### `disabled` (boolean)
598
-
599
- Indicates if the plugin is disabled or not
600
-
601
- #### `undo` (object)
602
-
603
- Properties of the `undo` object:
604
-
605
- ##### `disabled` (boolean)
606
-
607
- Indicates if the plugin is disabled or not
608
-
609
- ### `required` (boolean)
610
-
611
- Indicates if the item is required and the value cannot be empty
612
-
613
- ### `settings` (boolean)
614
-
615
- Indicates if the item has to be displayed in the Settings Panel
616
-
617
- ### `label` (string)
618
-
619
- Indicates the label for the item that has to be displayed in the Settings Panel
620
-
621
- ## `ConfigureProp` (object)
622
-
623
- Properties of the `ConfigureProp` object:
624
-
625
- ### `settings` (boolean)
626
-
627
- Indicates if the item has to be displayed in the Settings Panel
628
-
629
- ### `label` (string)
630
-
631
- Indicates the label for the item that has to be displayed in the Settings Panel
632
-
633
- ## `LabelsPlaceholderConfigProp` (object)
634
-
635
- Properties of the `LabelsPlaceholderConfigProp` object:
636
-
637
- ### `top` (string)
638
-
639
- This value is empty for charting. The property exist in order to be consistent with graphing configuration.
640
-
641
- ### `right` (string)
642
-
643
- This value is empty for charting. The property exist in order to be consistent with graphing configuration.
644
-
645
- ### `bottom` (string)
646
-
647
- Indicates the placeholder for the bottom label
648
-
649
- ### `left` (string)
650
-
651
- Indicates the placeholder for the left label
652
-
653
- ### `enabled` (boolean)
654
-
655
- Indicates the value of the item if it affects config-ui
656
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
657
-
658
- ### `settings` (boolean)
659
-
660
- Indicates if the item has to be displayed in the Settings Panel
661
-
662
- ### `label` (string)
663
-
664
- Indicates the label for the item that has to be displayed in the Settings Panel
665
-
666
- ## `ConfigurePropWithEnabled` (object)
667
-
668
- Properties of the `ConfigurePropWithEnabled` object:
669
-
670
- ### `enabled` (boolean)
671
-
672
- Indicates the value of the item if it affects config-ui
673
- (eg.: if item is a switch and displaying an input on the config-ui depends on the switch value: on/off)
674
-
675
- ### `settings` (boolean)
676
-
677
- Indicates if the item has to be displayed in the Settings Panel
678
-
679
- ### `label` (string)
680
-
681
- Indicates the label for the item that has to be displayed in the Settings Panel
682
-
683
- ## `AuthorNewCategoryDefaults` (object)
684
-
685
- Properties of the `AuthorNewCategoryDefaults` object:
686
-
687
- ### `settings` (boolean)
688
-
689
- Indicates if the item has to be displayed in the Settings Panel
690
-
691
- ### `label` (string)
692
-
693
- Indicates the label for the new category
694
-
695
- ### `interactive` (boolean)
696
-
697
- Indicates if new category is interactive
698
-
699
- ### `editable` (boolean)
700
-
701
- Indicates if new category is editable
702
-
703
- ## `ConfigureMathMLProp` (object)
704
-
705
- Properties of the `ConfigureMathMLProp` object:
706
-
707
- ### `mmlOutput` (number)
708
-
709
- Indicates if model should have mathML output instead of latex
710
-
711
- ### `mmlEditing` (number)
712
-
713
- Indicates if mathML that's already in model should be editable
714
-
715
- ## `ConfigureMaxImageDimensionsProp` (object)
716
-
717
- Properties of the `ConfigureMaxImageDimensionsProp` object:
718
-
719
- ### `teacherInstructions` (number)
720
-
721
- Indicates the max dimension for images in teacher instructions
722
-
723
- ### `prompt` (number)
724
-
725
- Indicates the max dimension for images in prompt - this is also the default dimension for all other input fields if it's not specified
726
-
727
- ### `rationale` (number)
728
-
729
- Indicates the max dimension for images in rationale
730
-
731
- ## `ChartingOptions` (object)
732
-
733
- Properties of the `ChartingOptions` object:
734
-
735
- ### `changeInteractive` (object)
736
-
737
- Properties of the `changeInteractive` object:
738
-
739
- #### `settings` (boolean)
740
-
741
- Indicates if the item has to be displayed in the Settings Panel
742
-
743
- #### `authoringLabel` (string)
744
-
745
- Indicates the label for the option
746
-
747
- #### `settingsLabel` (string)
748
-
749
- Indicates the label for the item that has to be displayed in the Settings Panel
750
-
751
- ### `changeEditable` (object)
752
-
753
- Properties of the `changeEditable` object:
754
-
755
- #### `settings` (boolean)
756
-
757
- Indicates if the item has to be displayed in the Settings Panel
758
-
759
- #### `authoringLabel` (string)
760
-
761
- Indicates the label for the option
762
-
763
- #### `settingsLabel` (string)
764
-
765
- Indicates the label for the item that has to be displayed in the Settings Panel
766
-
767
- ### `addCategory` (object)
768
-
769
- Properties of the `addCategory` object:
770
-
771
- #### `settings` (boolean)
772
-
773
- Indicates if the item has to be displayed in the Settings Panel
774
-
775
- #### `authoringLabel` (string)
776
-
777
- Indicates the label for the option
778
-
779
- #### `settingsLabel` (string)
780
-
781
- Indicates the label for the item that has to be displayed in the Settings Panel
782
-
783
- ## `ChartingOption` (object)
784
-
785
- Properties of the `ChartingOption` object:
786
-
787
- ### `settings` (boolean)
788
-
789
- Indicates if the item has to be displayed in the Settings Panel
790
-
791
- ### `authoringLabel` (string)
792
-
793
- Indicates the label for the option
794
-
795
- ### `settingsLabel` (string)
796
-
797
- Indicates the label for the item that has to be displayed in the Settings Panel
798
-
799
- ## `AvailableChartTypes` (object)
800
-
801
- Properties of the `AvailableChartTypes` object:
802
-
803
- ### `bar` (string, required)
804
-
805
- Indicates if bar chart is available and the label used for it.
806
-
807
- ### `histogram` (string, required)
808
-
809
- Indicates if histogram is available and the label used for it.
810
-
811
- ### `lineDot` (string, required)
812
-
813
- Indicates if line chart with dots is available and the label used for it.
814
-
815
- ### `lineCross` (string, required)
816
-
817
- Indicates if line chart with crosses is available and the label used for it.
818
-
819
- ### `dotPlot` (string, required)
820
-
821
- Indicates if dot plot is available and the label used for it.
822
-
823
- ### `linePlot` (string, required)
824
-
825
- Indicates if line plot is available and the label used for it.
826
-
827
- ## `ConfigureLanguageOptionsProp` (object)
828
-
829
- Properties of the `ConfigureLanguageOptionsProp` object:
830
-
831
- ### `value` (string, required)
832
-
833
- Value of the language option
834
-
835
- ### `label` (string, required)
836
-
837
- Label of the language option
838
-
839
- ## `Answer` (object)
840
-
841
- Properties of the `Answer` object:
842
-
843
- ### `name` (string, required)
844
-
845
- Indicates name of answer
846
-
847
- ### `data` (array, required)
848
-
849
- Indicates marks for the answer
850
-
851
- Additional restrictions:
852
-
853
- * Minimum items: `1`
854
-
855
- ## `Category` (object)
856
-
857
- Properties of the `Category` object:
858
-
859
- ### `label` (string, required)
860
-
861
- Indicates category label
862
-
863
- ### `value` (number, required)
864
-
865
- Indicates category value
866
-
867
- ### `interactive` (boolean, required)
868
-
869
- Indicates if category value is interactive
870
-
871
- ### `editable` (boolean, required)
872
-
873
- Indicates if category label is editable
874
-
875
- ### `deletable` (boolean, required)
876
-
877
- Indicates if category is deletable
878
-
879
- ### `correctness` (object, required)
880
-
881
- Indicates correctness for a category
882
-
883
- Properties of the `correctness` object:
884
-
885
- #### `value` (string, enum, required)
886
-
887
- This element must be one of the following enum values:
888
-
889
- * `correct`
890
- * `incorrect`
891
-
892
- #### `label` (string, enum, required)
893
-
894
- This element must be one of the following enum values:
895
-
896
- * `correct`
897
- * `incorrect`
898
-
899
- ## `ChartSettings` (object)
900
-
901
- Properties of the `ChartSettings` object:
902
-
903
- ### `min` (number, required)
904
-
905
- Min value
906
-
907
- ### `max` (number, required)
908
-
909
- Max value
910
-
911
- ### `step` (number, required)
912
-
913
- Step value
914
-
915
- ### `labelStep` (number, required)
916
-
917
- Label step value
918
-
919
- ### `axisLabel` (string, required)
920
-
921
- Axis Label
922
-
923
- ## `Chart` (object)
924
-
925
- Properties of the `Chart` object:
926
-
927
- ### `width` (number, required)
928
-
929
- Width for chart representation
930
-
931
- ### `height` (number, required)
932
-
933
- Height for chart representation
934
-
935
- ## `Placeholder` (object)
936
-
937
- Properties of the `Placeholder` object:
938
-
939
- ### `title` (string, required)
940
-
941
- Indicates placeholder message if title is not defined
942
-
943
- ### `labels` (string, required)
944
-
945
- Indicates placeholder message if labels for range or domain are not defined