@pie-element/graphing 10.1.1-next.1 → 10.1.1-next.29

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/CHANGELOG.json +652 -0
  2. package/CHANGELOG.md +2039 -0
  3. package/LICENSE.md +5 -0
  4. package/README.md +1 -0
  5. package/configure/CHANGELOG.json +382 -0
  6. package/configure/CHANGELOG.md +1830 -0
  7. package/configure/lib/configure.js +328 -0
  8. package/configure/lib/configure.js.map +1 -0
  9. package/configure/lib/correct-response.js +484 -0
  10. package/configure/lib/correct-response.js.map +1 -0
  11. package/configure/lib/defaults.js +448 -0
  12. package/configure/lib/defaults.js.map +1 -0
  13. package/configure/lib/graphing-config.js +388 -0
  14. package/configure/lib/graphing-config.js.map +1 -0
  15. package/configure/lib/index.js +173 -0
  16. package/configure/lib/index.js.map +1 -0
  17. package/configure/lib/utils.js +122 -0
  18. package/configure/lib/utils.js.map +1 -0
  19. package/configure/package.json +30 -0
  20. package/controller/CHANGELOG.json +412 -0
  21. package/controller/CHANGELOG.md +1263 -0
  22. package/controller/lib/defaults.js +64 -0
  23. package/controller/lib/defaults.js.map +1 -0
  24. package/controller/lib/index.js +459 -0
  25. package/controller/lib/index.js.map +1 -0
  26. package/controller/lib/utils.js +451 -0
  27. package/controller/lib/utils.js.map +1 -0
  28. package/controller/package.json +24 -0
  29. package/docs/config-schema.json +3164 -0
  30. package/docs/config-schema.json.md +2293 -0
  31. package/docs/demo/config.js +8 -0
  32. package/docs/demo/generate.js +200 -0
  33. package/docs/demo/index.html +1 -0
  34. package/docs/demo/session.js +20 -0
  35. package/docs/pie-schema.json +3495 -0
  36. package/docs/pie-schema.json.md +1345 -0
  37. package/lib/index.js +69 -0
  38. package/lib/index.js.map +1 -0
  39. package/lib/main.js +161 -0
  40. package/lib/main.js.map +1 -0
  41. package/lib/utils.js +24 -0
  42. package/lib/utils.js.map +1 -0
  43. package/package.json +21 -60
  44. package/dist/author/configure.d.ts +0 -26
  45. package/dist/author/configure.js +0 -208
  46. package/dist/author/correct-response.d.ts +0 -54
  47. package/dist/author/correct-response.js +0 -304
  48. package/dist/author/defaults.d.ts +0 -294
  49. package/dist/author/defaults.js +0 -415
  50. package/dist/author/graphing-config.d.ts +0 -34
  51. package/dist/author/graphing-config.js +0 -244
  52. package/dist/author/index.d.ts +0 -59
  53. package/dist/author/index.js +0 -96
  54. package/dist/author/utils.d.ts +0 -43
  55. package/dist/author/utils.js +0 -260
  56. package/dist/controller/defaults.d.ts +0 -59
  57. package/dist/controller/defaults.js +0 -61
  58. package/dist/controller/index.d.ts +0 -34
  59. package/dist/controller/index.js +0 -181
  60. package/dist/controller/utils.d.ts +0 -37
  61. package/dist/controller/utils.js +0 -114
  62. package/dist/delivery/index.d.ts +0 -21
  63. package/dist/delivery/index.js +0 -43
  64. package/dist/delivery/main.d.ts +0 -23
  65. package/dist/delivery/main.js +0 -107
  66. package/dist/delivery/utils.d.ts +0 -22
  67. package/dist/graphing.css +0 -2
  68. package/dist/index.d.ts +0 -1
  69. package/dist/index.iife.d.ts +0 -8
  70. package/dist/index.iife.js +0 -375
  71. package/dist/index.js +0 -2
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +0 -6
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +0 -16
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +0 -16
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +0 -6
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +0 -16
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +0 -6
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +0 -6
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +0 -11
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +0 -14
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +0 -5
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +0 -5
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +0 -6
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +0 -12
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +0 -7
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +0 -10
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +0 -7
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +0 -7
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +0 -15
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +0 -7
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +0 -7
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +0 -7
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +0 -10
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +0 -8
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +0 -8
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +0 -8
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +0 -12
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +0 -57
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +0 -14
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseDifference.js +0 -23
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +0 -7
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +0 -13
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +0 -9
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +0 -10
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +0 -9
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIntersection.js +0 -29
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +0 -9
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +0 -8
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +0 -30
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +0 -9
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +0 -6
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +0 -11
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +0 -9
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +0 -11
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +0 -12
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +0 -13
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +0 -9
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +0 -22
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +0 -14
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +0 -7
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +0 -15
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +0 -8
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +0 -27
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +0 -6
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castArrayLikeObject.js +0 -7
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +0 -10
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +0 -8
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +0 -10
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +0 -8
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +0 -8
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +0 -8
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +0 -8
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +0 -8
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +0 -14
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +0 -8
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +0 -8
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +0 -5
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +0 -9
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +0 -10
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +0 -35
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +0 -35
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +0 -32
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +0 -4
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +0 -9
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +0 -9
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +0 -8
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +0 -9
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +0 -5
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +0 -14
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +0 -10
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +0 -11
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +0 -23
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +0 -6
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +0 -7
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +0 -7
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +0 -13
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +0 -9
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +0 -9
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +0 -8
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +0 -33
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +0 -9
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +0 -10
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +0 -8
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +0 -11
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +0 -7
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +0 -11
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +0 -8
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +0 -6
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +0 -9
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +0 -8
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +0 -7
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +0 -8
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +0 -13
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +0 -8
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +0 -7
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +0 -7
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +0 -8
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +0 -9
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +0 -11
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +0 -5
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +0 -5
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +0 -8
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +0 -9
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +0 -7
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +0 -8
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +0 -13
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +0 -5
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +0 -7
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +0 -6
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +0 -9
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +0 -6
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +0 -14
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +0 -7
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +0 -7
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +0 -6
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +0 -6
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +0 -16
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +0 -7
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +0 -10
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +0 -10
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +0 -15
  202. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +0 -8
  203. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +0 -8
  204. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/differenceWith.js +0 -12
  205. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +0 -6
  206. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +0 -6
  207. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/intersection.js +0 -11
  208. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +0 -10
  209. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +0 -4
  210. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +0 -8
  211. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +0 -8
  212. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +0 -6
  213. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +0 -21
  214. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +0 -7
  215. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +0 -11
  216. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +0 -7
  217. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +0 -7
  218. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +0 -7
  219. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +0 -6
  220. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +0 -7
  221. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +0 -9
  222. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +0 -7
  223. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +0 -9
  224. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +0 -9
  225. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +0 -7
  226. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +0 -16
  227. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +0 -4
  228. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +0 -7
  229. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +0 -6
  230. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +0 -6
  231. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +0 -7
  232. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +0 -7
  233. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +0 -7
@@ -0,0 +1,122 @@
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
@@ -0,0 +1 @@
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,GAA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,IAAI,CAACb,CAAC,CAAC,GAC/BF,eAAe,CAACe,IAAI,CAACd,CAAC,EAAEc,IAAI,CAACb,CAAC,CAAC,IAAIF,eAAe,CAACiB,EAAE,CAAChB,CAAC,EAAEgB,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":[]}
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@pie-element/graphing-configure",
3
+ "private": true,
4
+ "version": "9.1.0",
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.7",
16
+ "@pie-lib/editable-html-tip-tap": "2.1.5",
17
+ "@pie-lib/graphing": "4.0.8",
18
+ "@pie-lib/math-rendering": "5.0.2",
19
+ "classnames": "^2.2.6",
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
+ }
@@ -0,0 +1,412 @@
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
+ ]