@pie-element/graphing 10.1.0-next.25 → 10.1.1-next.1

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/configure.d.ts +26 -0
  2. package/dist/author/configure.js +208 -0
  3. package/dist/author/correct-response.d.ts +54 -0
  4. package/dist/author/correct-response.js +304 -0
  5. package/dist/author/defaults.d.ts +294 -0
  6. package/dist/author/defaults.js +415 -0
  7. package/dist/author/graphing-config.d.ts +34 -0
  8. package/dist/author/graphing-config.js +244 -0
  9. package/dist/author/index.d.ts +59 -0
  10. package/dist/author/index.js +96 -0
  11. package/dist/author/utils.d.ts +43 -0
  12. package/dist/author/utils.js +260 -0
  13. package/dist/controller/defaults.d.ts +59 -0
  14. package/dist/controller/defaults.js +61 -0
  15. package/dist/controller/index.d.ts +34 -0
  16. package/dist/controller/index.js +181 -0
  17. package/dist/controller/utils.d.ts +37 -0
  18. package/dist/controller/utils.js +114 -0
  19. package/dist/delivery/index.d.ts +21 -0
  20. package/dist/delivery/index.js +43 -0
  21. package/dist/delivery/main.d.ts +23 -0
  22. package/dist/delivery/main.js +107 -0
  23. package/dist/delivery/utils.d.ts +22 -0
  24. package/dist/graphing.css +2 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.iife.d.ts +8 -0
  27. package/dist/index.iife.js +375 -0
  28. package/dist/index.js +2 -0
  29. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  30. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  31. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  32. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  33. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  34. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  35. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  36. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  37. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  38. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  39. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  40. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  41. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  42. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +7 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +7 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseDifference.js +23 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +9 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js +29 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +6 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +27 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castArrayLikeObject.js +7 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +9 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/differenceWith.js +12 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/intersection.js +11 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +8 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +7 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +4 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +7 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +7 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +7 -0
  191. package/package.json +56 -17
  192. package/CHANGELOG.json +0 -652
  193. package/CHANGELOG.md +0 -2029
  194. package/LICENSE.md +0 -5
  195. package/README.md +0 -1
  196. package/configure/CHANGELOG.json +0 -382
  197. package/configure/CHANGELOG.md +0 -1822
  198. package/configure/lib/configure.js +0 -328
  199. package/configure/lib/configure.js.map +0 -1
  200. package/configure/lib/correct-response.js +0 -484
  201. package/configure/lib/correct-response.js.map +0 -1
  202. package/configure/lib/defaults.js +0 -448
  203. package/configure/lib/defaults.js.map +0 -1
  204. package/configure/lib/graphing-config.js +0 -388
  205. package/configure/lib/graphing-config.js.map +0 -1
  206. package/configure/lib/index.js +0 -173
  207. package/configure/lib/index.js.map +0 -1
  208. package/configure/lib/utils.js +0 -122
  209. package/configure/lib/utils.js.map +0 -1
  210. package/configure/package.json +0 -30
  211. package/controller/CHANGELOG.json +0 -412
  212. package/controller/CHANGELOG.md +0 -1254
  213. package/controller/lib/defaults.js +0 -64
  214. package/controller/lib/defaults.js.map +0 -1
  215. package/controller/lib/index.js +0 -459
  216. package/controller/lib/index.js.map +0 -1
  217. package/controller/lib/utils.js +0 -451
  218. package/controller/lib/utils.js.map +0 -1
  219. package/controller/package.json +0 -24
  220. package/docs/config-schema.json +0 -3164
  221. package/docs/config-schema.json.md +0 -2293
  222. package/docs/demo/config.js +0 -8
  223. package/docs/demo/generate.js +0 -200
  224. package/docs/demo/index.html +0 -1
  225. package/docs/demo/session.js +0 -20
  226. package/docs/pie-schema.json +0 -3495
  227. package/docs/pie-schema.json.md +0 -1345
  228. package/lib/index.js +0 -69
  229. package/lib/index.js.map +0 -1
  230. package/lib/main.js +0 -161
  231. package/lib/main.js.map +0 -1
  232. package/lib/utils.js +0 -24
  233. package/lib/utils.js.map +0 -1
@@ -1,122 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.getLabelValues = exports.getGridValues = exports.filterPlotableMarks = exports.applyConstraints = exports.VALID_LABEL_VALUES = void 0;
7
- var _lodashEs = require("lodash-es");
8
- const VALID_GRID_VALUES = [0.01, 0.02, 0.04, 0.05, 0.0625, 0.1, 0.125, 0.2, 0.25, 0.5, 1, 2, 3, 4, 5, 8, 10, 12, 15, 20, 40, 50, 64, 100, 500, 1000];
9
-
10
- // same as VALID_GRID_VALUES but next values are excluded: 0.04, 0.0625, 0.125, 3, 4, 8, 12, 15, 40, 64
11
- const PREFERRED_VALID_GRID_VALUES = [0.01, 0.02, 0.05, 0.1, 0.2, 0.25, 0.5, 1, 2, 5, 10, 20, 50, 100, 500, 1000];
12
- const VALID_LABEL_VALUES = exports.VALID_LABEL_VALUES = {
13
- 0.01: [0, 0.01, 0.02, 0.04, 0.05, 0.1],
14
- 0.02: [0, 0.02, 0.04, 0.1],
15
- 0.04: [0, 0.04, 0.08, 0.16, 0.2],
16
- 0.05: [0, 0.05, 0.1, 0.2, 0.25],
17
- 0.0625: [0, 0.0625, 0.125, 0.25, 0.5],
18
- 0.1: [0, 0.1, 0.2, 0.4, 0.5, 1],
19
- 0.125: [0, 0.125, 0.25, 0.5, 1],
20
- 0.2: [0, 0.2, 0.5, 0.1],
21
- 0.25: [0, 0.25, 0.5, 1, 2],
22
- 0.5: [0, 0.5, 1, 2],
23
- 1: [0, 1, 2, 4, 5, 10],
24
- 2: [0, 2, 4, 8, 10],
25
- 3: [0, 3, 6, 12, 15],
26
- 4: [0, 4, 8, 16, 20],
27
- 5: [0, 5, 10, 20, 25],
28
- 8: [0, 8, 16, 32, 40, 64],
29
- 10: [0, 10, 20, 40, 50, 100],
30
- 12: [0, 12, 24],
31
- 15: [0, 15, 30, 60],
32
- 20: [0, 20, 40, 80, 100],
33
- 40: [0, 40, 80, 160, 200],
34
- 50: [0, 50, 100, 200, 250],
35
- 64: [0, 64, 128],
36
- 100: [0, 100, 200, 400, 500],
37
- 500: [0, 500, 1000, 2500],
38
- 1000: [0, 1000, 2000, 4000, 5000]
39
- };
40
- const getGridValues = (axis, size, prefferedValues = false) => {
41
- const minValue = 10 * (axis.max - axis.min) / size;
42
- const maxValue = minValue * 10;
43
-
44
- // if preferred values should be used enforce all values to be used if the axis step
45
- // is included in all supported values and not included in preferred values
46
- const useAllValues = prefferedValues && !PREFERRED_VALID_GRID_VALUES.includes(axis.step) && VALID_GRID_VALUES.includes(axis.step);
47
- const values = !prefferedValues || useAllValues ? VALID_GRID_VALUES : PREFERRED_VALID_GRID_VALUES;
48
- return values.filter(value => value >= minValue && value <= maxValue);
49
- };
50
- exports.getGridValues = getGridValues;
51
- const getLabelValues = value => VALID_LABEL_VALUES[value] || [];
52
- exports.getLabelValues = getLabelValues;
53
- const applyConstraints = (axis, size, oldGridValues, oldLabelValues) => {
54
- const gridValues = getGridValues(axis, size);
55
- let labelValues = getLabelValues(axis.step);
56
- if (!(0, _lodashEs.isEqual)(oldGridValues, gridValues) && !gridValues.includes(axis.step)) {
57
- const preferredValues = getGridValues(axis, size, true);
58
- const lowestValue = preferredValues[0] || 1;
59
- axis.step = lowestValue;
60
- labelValues = getLabelValues(lowestValue);
61
- if (!labelValues.includes(axis.labelStep)) {
62
- axis.labelStep = lowestValue;
63
- }
64
- return {
65
- gridValues,
66
- labelValues
67
- };
68
- }
69
- if (!(0, _lodashEs.isEqual)(oldLabelValues, labelValues) && !labelValues.includes(axis.labelStep)) {
70
- axis.labelStep = axis.step;
71
- }
72
- return {
73
- gridValues,
74
- labelValues
75
- };
76
- };
77
-
78
- // also used in pie-lib/graphing/utils as 'getTickValues'
79
- exports.applyConstraints = applyConstraints;
80
- const getPlotablePoints = prop => {
81
- const tickValues = [];
82
- let tickVal = 0;
83
- while (tickVal >= prop.min && tickValues.indexOf(tickVal) < 0) {
84
- tickValues.push(tickVal);
85
- tickVal = Math.round((tickVal - prop.step) * 10000) / 10000;
86
- }
87
- tickVal = Math.round(prop.step * 10000) / 10000;
88
- while (tickVal <= prop.max && tickValues.indexOf(tickVal) < 0) {
89
- tickValues.push(tickVal);
90
- tickVal = Math.round((tickVal + prop.step) * 10000) / 10000;
91
- }
92
-
93
- // return only ticks that are inside the min-max interval
94
- if (tickValues) {
95
- return tickValues.filter(tV => tV >= prop.min && tV <= prop.max);
96
- }
97
- return [];
98
- };
99
- const filterPlotableMarks = (domain, range, answers) => {
100
- const domainValues = getPlotablePoints(domain);
101
- const rangeValues = getPlotablePoints(range);
102
- const isPointPlotable = (x, y) => domainValues.includes(x) && rangeValues.includes(y);
103
- return Object.entries(answers || {}).reduce((newAnswers, [key, answer]) => {
104
- newAnswers[key] = {
105
- ...answer,
106
- marks: (answer.marks || []).filter(mark => {
107
- if (mark.type === 'point') {
108
- return isPointPlotable(mark.x, mark.y);
109
- }
110
- if (mark.type === 'polygon') {
111
- return !mark.points.find(point => !isPointPlotable(point.x, point.y));
112
- }
113
- const from = mark.from || mark.root;
114
- const to = mark.to || mark.edge;
115
- return mark.building ? isPointPlotable(from.x, from.y) : isPointPlotable(from.x, from.y) && isPointPlotable(to.x, to.y);
116
- })
117
- };
118
- return newAnswers;
119
- }, {});
120
- };
121
- exports.filterPlotableMarks = filterPlotableMarks;
122
- //# sourceMappingURL=utils.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"utils.js","names":["_lodashEs","require","VALID_GRID_VALUES","PREFERRED_VALID_GRID_VALUES","VALID_LABEL_VALUES","exports","getGridValues","axis","size","prefferedValues","minValue","max","min","maxValue","useAllValues","includes","step","values","filter","value","getLabelValues","applyConstraints","oldGridValues","oldLabelValues","gridValues","labelValues","isEqual","preferredValues","lowestValue","labelStep","getPlotablePoints","prop","tickValues","tickVal","indexOf","push","Math","round","tV","filterPlotableMarks","domain","range","answers","domainValues","rangeValues","isPointPlotable","x","y","Object","entries","reduce","newAnswers","key","answer","marks","mark","type","points","find","point","from","root","to","edge","building"],"sources":["../src/utils.js"],"sourcesContent":["import { isEqual } from 'lodash-es';\n\nconst VALID_GRID_VALUES = [\n 0.01, 0.02, 0.04, 0.05, 0.0625, 0.1, 0.125, 0.2, 0.25, 0.5, 1, 2, 3, 4, 5, 8, 10, 12, 15, 20, 40, 50, 64, 100, 500,\n 1000,\n];\n\n// same as VALID_GRID_VALUES but next values are excluded: 0.04, 0.0625, 0.125, 3, 4, 8, 12, 15, 40, 64\nconst PREFERRED_VALID_GRID_VALUES = [0.01, 0.02, 0.05, 0.1, 0.2, 0.25, 0.5, 1, 2, 5, 10, 20, 50, 100, 500, 1000];\n\nexport const VALID_LABEL_VALUES = {\n 0.01: [0, 0.01, 0.02, 0.04, 0.05, 0.1],\n 0.02: [0, 0.02, 0.04, 0.1],\n 0.04: [0, 0.04, 0.08, 0.16, 0.2],\n 0.05: [0, 0.05, 0.1, 0.2, 0.25],\n 0.0625: [0, 0.0625, 0.125, 0.25, 0.5],\n 0.1: [0, 0.1, 0.2, 0.4, 0.5, 1],\n 0.125: [0, 0.125, 0.25, 0.5, 1],\n 0.2: [0, 0.2, 0.5, 0.1],\n 0.25: [0, 0.25, 0.5, 1, 2],\n 0.5: [0, 0.5, 1, 2],\n 1: [0, 1, 2, 4, 5, 10],\n 2: [0, 2, 4, 8, 10],\n 3: [0, 3, 6, 12, 15],\n 4: [0, 4, 8, 16, 20],\n 5: [0, 5, 10, 20, 25],\n 8: [0, 8, 16, 32, 40, 64],\n 10: [0, 10, 20, 40, 50, 100],\n 12: [0, 12, 24],\n 15: [0, 15, 30, 60],\n 20: [0, 20, 40, 80, 100],\n 40: [0, 40, 80, 160, 200],\n 50: [0, 50, 100, 200, 250],\n 64: [0, 64, 128],\n 100: [0, 100, 200, 400, 500],\n 500: [0, 500, 1000, 2500],\n 1000: [0, 1000, 2000, 4000, 5000],\n};\n\nexport const getGridValues = (axis, size, prefferedValues = false) => {\n const minValue = (10 * (axis.max - axis.min)) / size;\n const maxValue = minValue * 10;\n\n // if preferred values should be used enforce all values to be used if the axis step\n // is included in all supported values and not included in preferred values\n const useAllValues =\n prefferedValues && !PREFERRED_VALID_GRID_VALUES.includes(axis.step) && VALID_GRID_VALUES.includes(axis.step);\n const values = !prefferedValues || useAllValues ? VALID_GRID_VALUES : PREFERRED_VALID_GRID_VALUES;\n\n return values.filter((value) => value >= minValue && value <= maxValue);\n};\n\nexport const getLabelValues = (value) => VALID_LABEL_VALUES[value] || [];\n\nexport const applyConstraints = (axis, size, oldGridValues, oldLabelValues) => {\n const gridValues = getGridValues(axis, size);\n let labelValues = getLabelValues(axis.step);\n\n if (!isEqual(oldGridValues, gridValues) && !gridValues.includes(axis.step)) {\n const preferredValues = getGridValues(axis, size, true);\n const lowestValue = preferredValues[0] || 1;\n\n axis.step = lowestValue;\n labelValues = getLabelValues(lowestValue);\n\n if (!labelValues.includes(axis.labelStep)) {\n axis.labelStep = lowestValue;\n }\n\n return { gridValues, labelValues };\n }\n\n if (!isEqual(oldLabelValues, labelValues) && !labelValues.includes(axis.labelStep)) {\n axis.labelStep = axis.step;\n }\n\n return { gridValues, labelValues };\n};\n\n// also used in pie-lib/graphing/utils as 'getTickValues'\nconst getPlotablePoints = (prop) => {\n const tickValues = [];\n let tickVal = 0;\n\n while (tickVal >= prop.min && tickValues.indexOf(tickVal) < 0) {\n tickValues.push(tickVal);\n tickVal = Math.round((tickVal - prop.step) * 10000) / 10000;\n }\n\n tickVal = Math.round(prop.step * 10000) / 10000;\n\n while (tickVal <= prop.max && tickValues.indexOf(tickVal) < 0) {\n tickValues.push(tickVal);\n tickVal = Math.round((tickVal + prop.step) * 10000) / 10000;\n }\n\n // return only ticks that are inside the min-max interval\n if (tickValues) {\n return tickValues.filter((tV) => tV >= prop.min && tV <= prop.max);\n }\n\n return [];\n};\n\nexport const filterPlotableMarks = (domain, range, answers) => {\n const domainValues = getPlotablePoints(domain);\n const rangeValues = getPlotablePoints(range);\n\n const isPointPlotable = (x, y) => domainValues.includes(x) && rangeValues.includes(y);\n\n return Object.entries(answers || {}).reduce((newAnswers, [key, answer]) => {\n newAnswers[key] = {\n ...answer,\n marks: (answer.marks || []).filter((mark) => {\n if (mark.type === 'point') {\n return isPointPlotable(mark.x, mark.y);\n }\n\n if (mark.type === 'polygon') {\n return !mark.points.find((point) => !isPointPlotable(point.x, point.y));\n }\n\n const from = mark.from || mark.root;\n const to = mark.to || mark.edge;\n\n return mark.building\n ? isPointPlotable(from.x, from.y)\n : isPointPlotable(from.x, from.y) && isPointPlotable(to.x, to.y);\n }),\n };\n\n return newAnswers;\n }, {});\n};\n"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AAEA,MAAMC,iBAAiB,GAAG,CACxB,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAClH,IAAI,CACL;;AAED;AACA,MAAMC,2BAA2B,GAAG,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC;AAEzG,MAAMC,kBAAkB,GAAAC,OAAA,CAAAD,kBAAA,GAAG;EAChC,IAAI,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI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,EAAE,CAACf,CAAC,CAAC;MACpE,CAAC;IACH,CAAC;IAED,OAAOI,UAAU;EACnB,CAAC,EAAE,CAAC,CAAC,CAAC;AACR,CAAC;AAAC9C,OAAA,CAAAkC,mBAAA,GAAAA,mBAAA","ignoreList":[]}
@@ -1,30 +0,0 @@
1
- {
2
- "name": "@pie-element/graphing-configure",
3
- "private": true,
4
- "version": "9.1.0-next.1",
5
- "description": "",
6
- "main": "lib/index.js",
7
- "module": "src/index.js",
8
- "author": "",
9
- "dependencies": {
10
- "@emotion/react": "^11.14.0",
11
- "@emotion/style": "^0.8.0",
12
- "@mui/icons-material": "^7.3.4",
13
- "@mui/material": "^7.3.4",
14
- "@pie-framework/pie-configure-events": "^1.3.0",
15
- "@pie-lib/config-ui": "13.0.4",
16
- "@pie-lib/editable-html-tip-tap": "2.1.2",
17
- "@pie-lib/graphing": "4.0.5",
18
- "@pie-lib/math-rendering": "5.0.2",
19
- "classnames": "^2.2.5",
20
- "debug": "^4.1.1",
21
- "lodash-es": "^4.17.23",
22
- "prop-types": "^15.8.1",
23
- "react": "18.3.1",
24
- "react-dom": "18.3.1"
25
- },
26
- "scripts": {
27
- "test": "./node_modules/.bin/jest"
28
- },
29
- "license": "ISC"
30
- }
@@ -1,412 +0,0 @@
1
- [
2
- {
3
- "type": "Fix",
4
- "scope": null,
5
- "subject": "Updated sending rationale.",
6
- "merge": null,
7
- "header": "Fix: Updated sending rationale.",
8
- "body": null,
9
- "footer": null,
10
- "notes": [],
11
- "hash": "fcba1df8b710807500d7738094f564c6903ec56c",
12
- "gitTags": "",
13
- "committerDate": "2019-06-30 17:40:45 -0400",
14
- "isTagged": true,
15
- "tag": "@pie-element/graphing-controller@1.1.0"
16
- },
17
- {
18
- "type": "feat",
19
- "scope": null,
20
- "subject": "Finished tests, updated element, updated pie-model and schemas.",
21
- "merge": null,
22
- "header": "feat: Finished tests, updated element, updated pie-model and schemas.",
23
- "body": null,
24
- "footer": null,
25
- "notes": [],
26
- "hash": "a43ef92f4f82448bebcd3945671c6e44fda2ee5c",
27
- "gitTags": "",
28
- "committerDate": "2019-06-26 23:48:13 -0400",
29
- "isTagged": true,
30
- "tag": "@pie-element/graphing-controller@1.1.0"
31
- },
32
- {
33
- "type": "feat",
34
- "scope": null,
35
- "subject": "Started adding tests.",
36
- "merge": null,
37
- "header": "feat: Started adding tests.",
38
- "body": null,
39
- "footer": null,
40
- "notes": [],
41
- "hash": "ed659224486695330dc6b22dc212d7162497edca",
42
- "gitTags": "",
43
- "committerDate": "2019-06-25 23:47:54 -0400",
44
- "isTagged": true,
45
- "tag": "@pie-element/graphing-controller@1.1.0"
46
- },
47
- {
48
- "type": "feat",
49
- "scope": "graphing",
50
- "subject": "Finished graphing.",
51
- "merge": null,
52
- "header": "feat(graphing): Finished graphing.",
53
- "body": null,
54
- "footer": null,
55
- "notes": [],
56
- "hash": "e122d77a2be6de834682a5c49d4d46e2775849f5",
57
- "gitTags": "",
58
- "committerDate": "2019-06-25 20:27:39 -0400",
59
- "isTagged": true,
60
- "tag": "@pie-element/graphing-controller@1.1.0"
61
- },
62
- {
63
- "type": "feat",
64
- "scope": "graphing",
65
- "subject": "Continued on scoring calculation, refactored.",
66
- "merge": null,
67
- "header": "feat(graphing): Continued on scoring calculation, refactored.",
68
- "body": null,
69
- "footer": null,
70
- "notes": [],
71
- "hash": "9a8808672b1e95a15b7421293a63ec1e52eefb41",
72
- "gitTags": "",
73
- "committerDate": "2019-06-25 07:08:53 -0400",
74
- "isTagged": true,
75
- "tag": "@pie-element/graphing-controller@1.1.0"
76
- },
77
- {
78
- "type": "feat",
79
- "scope": "graphing",
80
- "subject": "Continued on scoring calculation.",
81
- "merge": null,
82
- "header": "feat(graphing): Continued on scoring calculation.",
83
- "body": null,
84
- "footer": null,
85
- "notes": [],
86
- "hash": "ba10cb5a6460d1457b87f65e5aa0dadecc31c703",
87
- "gitTags": "",
88
- "committerDate": "2019-06-24 23:47:35 -0400",
89
- "isTagged": true,
90
- "tag": "@pie-element/graphing-controller@1.1.0"
91
- },
92
- {
93
- "type": "feat",
94
- "scope": "graphing",
95
- "subject": "Recalculated equality between 2 marks, eliminated duplicates from both correct answers and selected answers.",
96
- "merge": null,
97
- "header": "feat(graphing): Recalculated equality between 2 marks, eliminated duplicates from both correct answers and selected answers.",
98
- "body": null,
99
- "footer": null,
100
- "notes": [],
101
- "hash": "7ecd4e4d623c05c86584fd52886328876af58f09",
102
- "gitTags": "",
103
- "committerDate": "2019-06-24 08:01:08 -0400",
104
- "isTagged": true,
105
- "tag": "@pie-element/graphing-controller@1.1.0"
106
- },
107
- {
108
- "type": "feat",
109
- "scope": "graphing",
110
- "subject": "Started on scoring.",
111
- "merge": null,
112
- "header": "feat(graphing): Started on scoring.",
113
- "body": null,
114
- "footer": null,
115
- "notes": [],
116
- "hash": "cc926bcc1e86c4c73a113791d517112a933619a7",
117
- "gitTags": "",
118
- "committerDate": "2019-06-19 23:10:12 -0400",
119
- "isTagged": true,
120
- "tag": "@pie-element/graphing-controller@1.1.0"
121
- },
122
- {
123
- "type": "feat",
124
- "scope": "graphing",
125
- "subject": "Started creating pie-element/graphing",
126
- "merge": null,
127
- "header": "feat(graphing): Started creating pie-element/graphing",
128
- "body": null,
129
- "footer": null,
130
- "notes": [],
131
- "hash": "220b4f370a78d5b7f8c962abf91955bcec27ef18",
132
- "gitTags": "",
133
- "committerDate": "2019-06-10 17:53:19 +0300",
134
- "isTagged": true,
135
- "tag": "@pie-element/graphing-controller@1.1.0"
136
- },
137
- {
138
- "type": "feat",
139
- "scope": "graphing",
140
- "subject": "Added graphing element.",
141
- "merge": null,
142
- "header": "feat(graphing): Added graphing element.",
143
- "body": null,
144
- "footer": null,
145
- "notes": [],
146
- "hash": "80be31b2693b3d875c225f97a800453954ffd65b",
147
- "gitTags": "",
148
- "committerDate": "2019-06-06 16:40:08 +0300",
149
- "isTagged": true,
150
- "tag": "@pie-element/graphing-controller@1.1.0"
151
- },
152
- {
153
- "type": "chore",
154
- "scope": "merge",
155
- "subject": "merged develop into master",
156
- "merge": null,
157
- "header": "chore(merge): merged develop into master",
158
- "body": null,
159
- "footer": null,
160
- "notes": [],
161
- "hash": "e34547d6fdd4ff27a1ed15789d52d294b4630c91",
162
- "gitTags": " (develop)",
163
- "committerDate": "2019-07-03 16:05:09 -0400",
164
- "isTagged": true,
165
- "tag": "@pie-element/graphing-controller@1.1.2"
166
- },
167
- {
168
- "type": "feat",
169
- "scope": null,
170
- "subject": "Added the possibility to use toolbarTools in order to decide if \"label\" should be displayed.",
171
- "merge": null,
172
- "header": "feat: Added the possibility to use toolbarTools in order to decide if \"label\" should be displayed.",
173
- "body": null,
174
- "footer": null,
175
- "notes": [],
176
- "hash": "57f81f0cd1330fb374d76675dd6f933f3e131a75",
177
- "gitTags": "",
178
- "committerDate": "2019-07-03 22:44:41 -0400",
179
- "isTagged": true,
180
- "tag": "@pie-element/graphing-controller@1.2.0"
181
- },
182
- {
183
- "type": "feat",
184
- "scope": null,
185
- "subject": "Added the possibility to use toolbarTools in order to decide if \"label\" should be displayed.",
186
- "merge": null,
187
- "header": "feat: Added the possibility to use toolbarTools in order to decide if \"label\" should be displayed.",
188
- "body": null,
189
- "footer": null,
190
- "notes": [],
191
- "hash": "57f81f0cd1330fb374d76675dd6f933f3e131a75",
192
- "gitTags": "",
193
- "committerDate": "2019-07-03 22:44:41 -0400",
194
- "isTagged": true,
195
- "tag": "@pie-element/graphing-controller@1.2.0"
196
- },
197
- {
198
- "type": "chore",
199
- "scope": "merge",
200
- "subject": "merged develop into master",
201
- "merge": null,
202
- "header": "chore(merge): merged develop into master",
203
- "body": null,
204
- "footer": null,
205
- "notes": [],
206
- "hash": "8d0ef794ac40e1051fe9cd6f196edc7bd009f0ad",
207
- "gitTags": " (develop)",
208
- "committerDate": "2019-07-05 23:25:06 -0400",
209
- "isTagged": true,
210
- "tag": "@pie-element/graphing-controller@1.2.1"
211
- },
212
- {
213
- "type": "feat",
214
- "scope": null,
215
- "subject": "Moved rationale, teacherInstructions and student instructions enabled flag in model because it's needed in controller.",
216
- "merge": null,
217
- "header": "feat: Moved rationale, teacherInstructions and student instructions enabled flag in model because it's needed in controller.",
218
- "body": null,
219
- "footer": "BREAKING CHANGE: `enabled` property from `configuration.rationale.enabled` moved to `model.rationaleEnabled`. Same applies to teacherInstructions/studentInstructions.",
220
- "notes": [
221
- {
222
- "title": "BREAKING CHANGE",
223
- "text": "`enabled` property from `configuration.rationale.enabled` moved to `model.rationaleEnabled`. Same applies to teacherInstructions/studentInstructions."
224
- }
225
- ],
226
- "hash": "0ea695a795681c860757bf1b4849da20200abf42",
227
- "gitTags": "",
228
- "committerDate": "2019-09-16 19:19:14 +0300",
229
- "isTagged": true,
230
- "tag": "@pie-element/graphing-controller@2.0.0"
231
- },
232
- {
233
- "type": "feat",
234
- "scope": "graphing",
235
- "subject": "model based prompt",
236
- "merge": null,
237
- "header": "feat(graphing): model based prompt",
238
- "body": null,
239
- "footer": null,
240
- "notes": [],
241
- "hash": "7ca5f8f812eb0ba57bff040644861fd0c71eb97d",
242
- "gitTags": "",
243
- "committerDate": "2019-09-24 18:26:08 +0300",
244
- "isTagged": true,
245
- "tag": "@pie-element/graphing-controller@2.1.0"
246
- },
247
- {
248
- "type": "fix",
249
- "scope": null,
250
- "subject": "ch2766 fix unresolved promise (#366)",
251
- "merge": null,
252
- "header": "fix: ch2766 fix unresolved promise (#366)",
253
- "body": "* fix: resolve null when instructor is not role\n\n* chore: typo\n\n* chore: correct response resolve, match interaction\n\n* chore: correct response unresolved\n\n* chore: categorize resolve correct response\n\n* fix: createCorrectResponseSession unresolved promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: createCorrectResponseSession resolve promise\n\n* fix: ch2776 resolve createCorrectResponse promise",
254
- "footer": "* fix: Fixed createCorrectResponseSession and added tests for it. (#365)",
255
- "notes": [],
256
- "hash": "9057b7fd08e4f5b07e953a5acd053e1945df57f2",
257
- "gitTags": " (origin/develop, origin/HEAD)",
258
- "committerDate": "2019-10-16 15:50:55 -0400",
259
- "isTagged": true,
260
- "tag": "@pie-element/graphing-controller@3.0.1"
261
- },
262
- {
263
- "type": "fix",
264
- "scope": null,
265
- "subject": "Added multiple sanity checks.",
266
- "merge": null,
267
- "header": "fix: Added multiple sanity checks.",
268
- "body": null,
269
- "footer": null,
270
- "notes": [],
271
- "hash": "2a0d806d5d91380a5bbcfb8d2a9cb330ae81dcb0",
272
- "gitTags": "",
273
- "committerDate": "2019-11-15 14:49:04 +0200",
274
- "isTagged": true,
275
- "tag": "@pie-element/graphing-controller@3.0.3"
276
- },
277
- {
278
- "type": "fix",
279
- "scope": null,
280
- "subject": "Added sanity checks.",
281
- "merge": null,
282
- "header": "fix: Added sanity checks.",
283
- "body": null,
284
- "footer": null,
285
- "notes": [],
286
- "hash": "5f9abb3d555015c551206862b3f26570c03f3df8",
287
- "gitTags": "",
288
- "committerDate": "2019-11-14 21:51:15 +0200",
289
- "isTagged": true,
290
- "tag": "@pie-element/graphing-controller@3.0.3"
291
- },
292
- {
293
- "type": "feat",
294
- "scope": null,
295
- "subject": "PIE-200 - add partialSCoring",
296
- "merge": null,
297
- "header": "feat: PIE-200 - add partialSCoring",
298
- "body": null,
299
- "footer": null,
300
- "notes": [],
301
- "hash": "472338eb90600b4506d2225991d09741b15e6562",
302
- "gitTags": "",
303
- "committerDate": "2019-12-06 12:22:05 +0000",
304
- "isTagged": true,
305
- "tag": "@pie-element/graphing-controller@3.1.0"
306
- },
307
- {
308
- "type": "fix",
309
- "scope": null,
310
- "subject": "missing dependency",
311
- "merge": null,
312
- "header": "fix: missing dependency",
313
- "body": null,
314
- "footer": null,
315
- "notes": [],
316
- "hash": "4190c80fec5e321286cc2b94a2db2ed2d27e0bda",
317
- "gitTags": "",
318
- "committerDate": "2020-01-29 19:09:35 +0000",
319
- "isTagged": true,
320
- "tag": "@pie-element/graphing-controller@3.1.2"
321
- },
322
- {
323
- "type": "fix",
324
- "scope": null,
325
- "subject": "Scoring issues for graphing line (3729 & 4126), started on scoring issues for sine (4146)",
326
- "merge": null,
327
- "header": "fix: Scoring issues for graphing line (3729 & 4126), started on scoring issues for sine (4146)",
328
- "body": null,
329
- "footer": null,
330
- "notes": [],
331
- "hash": "4724370fdeda6b85c0a14a499e50ddc4f727e4e3",
332
- "gitTags": "",
333
- "committerDate": "2020-03-01 16:15:03 +0200",
334
- "isTagged": true,
335
- "tag": "@pie-element/graphing-controller@3.2.0"
336
- },
337
- {
338
- "type": "fix",
339
- "scope": null,
340
- "subject": "bump ui versions",
341
- "merge": null,
342
- "header": "fix: bump ui versions",
343
- "body": null,
344
- "footer": null,
345
- "notes": [],
346
- "hash": "5b9d99fe59c304bdd173c9336503eb558900d2a2",
347
- "gitTags": "",
348
- "committerDate": "2020-03-31 19:25:13 +0100",
349
- "isTagged": true,
350
- "tag": "@pie-element/graphing-controller@3.2.0"
351
- },
352
- {
353
- "type": "fix",
354
- "scope": null,
355
- "subject": "bump lib and ui versions",
356
- "merge": null,
357
- "header": "fix: bump lib and ui versions",
358
- "body": null,
359
- "footer": null,
360
- "notes": [],
361
- "hash": "a882cbf4580098ce0e12c51cf6ad2879817e17e7",
362
- "gitTags": "",
363
- "committerDate": "2020-04-10 17:13:24 +0100",
364
- "isTagged": true,
365
- "tag": "@pie-element/graphing-controller@3.2.1"
366
- },
367
- {
368
- "type": "fix",
369
- "scope": null,
370
- "subject": "Partial credit scoring is not working for Graphing items (updated accordingly to pie-lib/controller-utils)",
371
- "merge": null,
372
- "header": "fix: Partial credit scoring is not working for Graphing items (updated accordingly to pie-lib/controller-utils)",
373
- "body": null,
374
- "footer": null,
375
- "notes": [],
376
- "hash": "b505358c7c682a22810374ceb962b948aed84b50",
377
- "gitTags": "",
378
- "committerDate": "2020-04-07 13:10:47 +0300",
379
- "isTagged": true,
380
- "tag": "@pie-element/graphing-controller@3.2.1"
381
- },
382
- {
383
- "type": "fix",
384
- "scope": null,
385
- "subject": "bump all packages to avoid tag conflict",
386
- "merge": null,
387
- "header": "fix: bump all packages to avoid tag conflict",
388
- "body": null,
389
- "footer": null,
390
- "notes": [],
391
- "hash": "d9ec9a8689f0a391594b5e2f4ea958c6dc9f6d7b",
392
- "gitTags": "",
393
- "committerDate": "2020-04-10 20:01:37 +0100",
394
- "isTagged": true,
395
- "tag": "@pie-element/graphing-controller@3.2.1"
396
- },
397
- {
398
- "type": "fix",
399
- "scope": null,
400
- "subject": "bump ui/lib versions",
401
- "merge": null,
402
- "header": "fix: bump ui/lib versions",
403
- "body": null,
404
- "footer": null,
405
- "notes": [],
406
- "hash": "3edb2321ebaefcaee70c3642aa6da8a50e8a99e5",
407
- "gitTags": "",
408
- "committerDate": "2020-04-14 15:36:44 +0100",
409
- "isTagged": true,
410
- "tag": "@pie-element/graphing-controller@3.2.3"
411
- }
412
- ]