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

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
@@ -1,59 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/graphing/configure/src/index.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export default class GraphLinesConfigure extends HTMLElement {
10
- static createDefaultModel: (model?: {}) => {
11
- answers: any;
12
- defaultTool: any;
13
- range: {};
14
- graph: {};
15
- arrows: {
16
- left: boolean;
17
- right: boolean;
18
- up: boolean;
19
- down: boolean;
20
- };
21
- backgroundMarks: never[];
22
- coordinatesOnHover: boolean;
23
- defaultGridConfiguration: number;
24
- domain: {
25
- min: number;
26
- max: number;
27
- step: number;
28
- labelStep: number;
29
- axisLabel: string;
30
- };
31
- includeAxes: boolean;
32
- labels: {};
33
- labelsEnabled: boolean;
34
- padding: boolean;
35
- prompt: string;
36
- promptEnabled: boolean;
37
- rationale: string;
38
- rationaleEnabled: boolean;
39
- standardGrid: boolean;
40
- studentInstructionsEnabled: boolean;
41
- teacherInstructions: string;
42
- teacherInstructionsEnabled: boolean;
43
- title: string;
44
- titleEnabled: boolean;
45
- toolbarTools: string[];
46
- };
47
- constructor();
48
- set model(m: any);
49
- resetModelAfterConfigurationIsSet: any;
50
- set configuration(c: any);
51
- onModelChanged: any;
52
- onConfigurationChanged: any;
53
- insertImage: any;
54
- onDeleteImage: any;
55
- insertSound(handler: any): void;
56
- onDeleteSound(src: any, done: any): void;
57
- _render(): void;
58
- disconnectedCallback(): void;
59
- }
@@ -1,96 +0,0 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
- import t from "./configure.js";
3
- import n from "./defaults.js";
4
- import r from "react";
5
- import { createRoot as i } from "react-dom/client";
6
- import { renderMath as a } from "@pie-element/shared-math-rendering-mathjax";
7
- import o from "debug";
8
- import { DeleteImageEvent as s, DeleteSoundEvent as c, InsertImageEvent as l, InsertSoundEvent as u, ModelUpdatedEvent as d } from "@pie-element/shared-configure-events";
9
- //#region src/author/index.ts
10
- var f = o("pie-elements:graphing:configure"), p = (e) => Object.keys(e || {}).sort().reduce((t, n) => (n !== "correctAnswer" && (t[n] = e[n]), t), {}), m = class o extends HTMLElement {
11
- static createDefaultModel = (e = {}) => {
12
- let t = {
13
- ...n.model,
14
- ...e
15
- }, { answers: r = {}, domain: i = {}, defaultTool: a, graph: o = {}, range: s = {}, standardGrid: c, toolbarTools: l } = t, u = (l || []).filter((e) => e !== "label"), d = a || u.length && u[0] || "";
16
- return {
17
- ...t,
18
- answers: r && r.correctAnswer && {
19
- correctAnswer: r.correctAnswer,
20
- ...p(r)
21
- } || r,
22
- defaultTool: d,
23
- range: c && {
24
- ...s,
25
- min: i.min,
26
- max: i.max,
27
- step: i.step,
28
- labelStep: i.labelStep
29
- } || s,
30
- graph: c && {
31
- ...o,
32
- height: o.width
33
- } || o
34
- };
35
- };
36
- constructor() {
37
- super(), this._root = null, this._model = o.createDefaultModel(), this._configuration = n.configuration;
38
- }
39
- set model(t) {
40
- this._model = o.createDefaultModel(t), this._modelCopy = e(this._model), this._render();
41
- }
42
- resetModelAfterConfigurationIsSet = () => {
43
- let e = document.querySelectorAll("pie-author");
44
- this.hasPlayerAsParent = Array.from(e).some((e) => e.contains(this)), this.hasPlayerAsParent && (this._modelCopy ? this._model = this._modelCopy : delete this._modelCopy);
45
- };
46
- set configuration(e) {
47
- this._configuration = {
48
- ...n.configuration,
49
- ...e
50
- }, this.resetModelAfterConfigurationIsSet(), e.language?.enabled ? e.languageChoices?.options?.length && (this._model.language = e.languageChoices.options[0].value) : e.language.settings ? this._model.language && (this._configuration.language.enabled = !0) : delete this._model.language, this._render();
51
- }
52
- onModelChanged = (e) => {
53
- this._model = e, this._render(), f("[onModelChanged]: ", this._model), this.dispatchEvent(new d(this._model));
54
- };
55
- onConfigurationChanged = (e) => {
56
- this._configuration = e, this._render();
57
- };
58
- insertImage = (e) => {
59
- this.dispatchEvent(new l(e));
60
- };
61
- onDeleteImage = (e, t) => {
62
- this.dispatchEvent(new s(e, t));
63
- };
64
- insertSound(e) {
65
- this.dispatchEvent(new u(e));
66
- }
67
- onDeleteSound(e, t) {
68
- this.dispatchEvent(new c(e, t));
69
- }
70
- _render() {
71
- if (this._model) {
72
- let e = r.createElement(t, {
73
- onModelChanged: this.onModelChanged,
74
- onConfigurationChanged: this.onConfigurationChanged,
75
- model: this._model,
76
- configuration: this._configuration,
77
- imageSupport: {
78
- add: this.insertImage,
79
- delete: this.onDeleteImage
80
- },
81
- uploadSoundSupport: {
82
- add: this.insertSound.bind(this),
83
- delete: this.onDeleteSound.bind(this)
84
- }
85
- });
86
- this._root ||= i(this), this._root.render(e), queueMicrotask(() => {
87
- a(this);
88
- });
89
- }
90
- }
91
- disconnectedCallback() {
92
- this._root && this._root.unmount();
93
- }
94
- };
95
- //#endregion
96
- export { m as default };
@@ -1,43 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/graphing/configure/src/utils.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const VALID_LABEL_VALUES: {
10
- 0.01: number[];
11
- 0.02: number[];
12
- 0.04: number[];
13
- 0.05: number[];
14
- 0.0625: number[];
15
- 0.1: number[];
16
- 0.125: number[];
17
- 0.2: number[];
18
- 0.25: number[];
19
- 0.5: number[];
20
- 1: number[];
21
- 2: number[];
22
- 3: number[];
23
- 4: number[];
24
- 5: number[];
25
- 8: number[];
26
- 10: number[];
27
- 12: number[];
28
- 15: number[];
29
- 20: number[];
30
- 40: number[];
31
- 50: number[];
32
- 64: number[];
33
- 100: number[];
34
- 500: number[];
35
- 1000: number[];
36
- };
37
- export declare const getGridValues: (axis: any, size: any, prefferedValues?: boolean) => number[];
38
- export declare const getLabelValues: (value: any) => any;
39
- export declare const applyConstraints: (axis: any, size: any, oldGridValues: any, oldLabelValues: any) => {
40
- gridValues: number[];
41
- labelValues: any;
42
- };
43
- export declare const filterPlotableMarks: (domain: any, range: any, answers: any) => {};
@@ -1,260 +0,0 @@
1
- import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
2
- //#region src/author/utils.ts
3
- var t = [
4
- .01,
5
- .02,
6
- .04,
7
- .05,
8
- .0625,
9
- .1,
10
- .125,
11
- .2,
12
- .25,
13
- .5,
14
- 1,
15
- 2,
16
- 3,
17
- 4,
18
- 5,
19
- 8,
20
- 10,
21
- 12,
22
- 15,
23
- 20,
24
- 40,
25
- 50,
26
- 64,
27
- 100,
28
- 500,
29
- 1e3
30
- ], n = [
31
- .01,
32
- .02,
33
- .05,
34
- .1,
35
- .2,
36
- .25,
37
- .5,
38
- 1,
39
- 2,
40
- 5,
41
- 10,
42
- 20,
43
- 50,
44
- 100,
45
- 500,
46
- 1e3
47
- ], r = {
48
- .01: [
49
- 0,
50
- .01,
51
- .02,
52
- .04,
53
- .05,
54
- .1
55
- ],
56
- .02: [
57
- 0,
58
- .02,
59
- .04,
60
- .1
61
- ],
62
- .04: [
63
- 0,
64
- .04,
65
- .08,
66
- .16,
67
- .2
68
- ],
69
- .05: [
70
- 0,
71
- .05,
72
- .1,
73
- .2,
74
- .25
75
- ],
76
- .0625: [
77
- 0,
78
- .0625,
79
- .125,
80
- .25,
81
- .5
82
- ],
83
- .1: [
84
- 0,
85
- .1,
86
- .2,
87
- .4,
88
- .5,
89
- 1
90
- ],
91
- .125: [
92
- 0,
93
- .125,
94
- .25,
95
- .5,
96
- 1
97
- ],
98
- .2: [
99
- 0,
100
- .2,
101
- .5,
102
- .1
103
- ],
104
- .25: [
105
- 0,
106
- .25,
107
- .5,
108
- 1,
109
- 2
110
- ],
111
- .5: [
112
- 0,
113
- .5,
114
- 1,
115
- 2
116
- ],
117
- 1: [
118
- 0,
119
- 1,
120
- 2,
121
- 4,
122
- 5,
123
- 10
124
- ],
125
- 2: [
126
- 0,
127
- 2,
128
- 4,
129
- 8,
130
- 10
131
- ],
132
- 3: [
133
- 0,
134
- 3,
135
- 6,
136
- 12,
137
- 15
138
- ],
139
- 4: [
140
- 0,
141
- 4,
142
- 8,
143
- 16,
144
- 20
145
- ],
146
- 5: [
147
- 0,
148
- 5,
149
- 10,
150
- 20,
151
- 25
152
- ],
153
- 8: [
154
- 0,
155
- 8,
156
- 16,
157
- 32,
158
- 40,
159
- 64
160
- ],
161
- 10: [
162
- 0,
163
- 10,
164
- 20,
165
- 40,
166
- 50,
167
- 100
168
- ],
169
- 12: [
170
- 0,
171
- 12,
172
- 24
173
- ],
174
- 15: [
175
- 0,
176
- 15,
177
- 30,
178
- 60
179
- ],
180
- 20: [
181
- 0,
182
- 20,
183
- 40,
184
- 80,
185
- 100
186
- ],
187
- 40: [
188
- 0,
189
- 40,
190
- 80,
191
- 160,
192
- 200
193
- ],
194
- 50: [
195
- 0,
196
- 50,
197
- 100,
198
- 200,
199
- 250
200
- ],
201
- 64: [
202
- 0,
203
- 64,
204
- 128
205
- ],
206
- 100: [
207
- 0,
208
- 100,
209
- 200,
210
- 400,
211
- 500
212
- ],
213
- 500: [
214
- 0,
215
- 500,
216
- 1e3,
217
- 2500
218
- ],
219
- 1e3: [
220
- 0,
221
- 1e3,
222
- 2e3,
223
- 4e3,
224
- 5e3
225
- ]
226
- }, i = (e, r, i = !1) => {
227
- let a = 10 * (e.max - e.min) / r, o = a * 10, s = i && !n.includes(e.step) && t.includes(e.step);
228
- return (!i || s ? t : n).filter((e) => e >= a && e <= o);
229
- }, a = (e) => r[e] || [], o = (t, n, r, o) => {
230
- let s = i(t, n), c = a(t.step);
231
- if (!e(r, s) && !s.includes(t.step)) {
232
- let e = i(t, n, !0)[0] || 1;
233
- return t.step = e, c = a(e), c.includes(t.labelStep) || (t.labelStep = e), {
234
- gridValues: s,
235
- labelValues: c
236
- };
237
- }
238
- return !e(o, c) && !c.includes(t.labelStep) && (t.labelStep = t.step), {
239
- gridValues: s,
240
- labelValues: c
241
- };
242
- }, s = (e) => {
243
- let t = [], n = 0;
244
- for (; n >= e.min && t.indexOf(n) < 0;) t.push(n), n = Math.round((n - e.step) * 1e4) / 1e4;
245
- for (n = Math.round(e.step * 1e4) / 1e4; n <= e.max && t.indexOf(n) < 0;) t.push(n), n = Math.round((n + e.step) * 1e4) / 1e4;
246
- return t ? t.filter((t) => t >= e.min && t <= e.max) : [];
247
- }, c = (e, t, n) => {
248
- let r = s(e), i = s(t), a = (e, t) => r.includes(e) && i.includes(t);
249
- return Object.entries(n || {}).reduce((e, [t, n]) => (e[t] = {
250
- ...n,
251
- marks: (n.marks || []).filter((e) => {
252
- if (e.type === "point") return a(e.x, e.y);
253
- if (e.type === "polygon") return !e.points.find((e) => !a(e.x, e.y));
254
- let t = e.from || e.root, n = e.to || e.edge;
255
- return e.building ? a(t.x, t.y) : a(t.x, t.y) && a(n.x, n.y);
256
- })
257
- }, e), {});
258
- };
259
- //#endregion
260
- export { o as applyConstraints, c as filterPlotableMarks, i as getGridValues, a as getLabelValues };
@@ -1,59 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/graphing/controller/src/defaults.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- declare const _default: {
10
- answers: {
11
- correctAnswer: {
12
- name: string;
13
- marks: never[];
14
- };
15
- };
16
- arrows: {
17
- left: boolean;
18
- right: boolean;
19
- up: boolean;
20
- down: boolean;
21
- };
22
- backgroundMarks: never[];
23
- coordinatesOnHover: boolean;
24
- defaultGridConfiguration: number;
25
- domain: {
26
- min: number;
27
- max: number;
28
- step: number;
29
- labelStep: number;
30
- axisLabel: string;
31
- };
32
- graph: {
33
- width: number;
34
- height: number;
35
- };
36
- includeAxes: boolean;
37
- labels: {};
38
- labelsEnabled: boolean;
39
- padding: boolean;
40
- prompt: string;
41
- promptEnabled: boolean;
42
- range: {
43
- min: number;
44
- max: number;
45
- step: number;
46
- labelStep: number;
47
- axisLabel: string;
48
- };
49
- rationale: string;
50
- rationaleEnabled: boolean;
51
- standardGrid: boolean;
52
- studentInstructionsEnabled: boolean;
53
- teacherInstructions: string;
54
- teacherInstructionsEnabled: boolean;
55
- title: string;
56
- titleEnabled: boolean;
57
- toolbarTools: string[];
58
- };
59
- export default _default;
@@ -1,61 +0,0 @@
1
- var e = {
2
- answers: { correctAnswer: {
3
- name: "Correct Answer",
4
- marks: []
5
- } },
6
- arrows: {
7
- left: !0,
8
- right: !0,
9
- up: !0,
10
- down: !0
11
- },
12
- backgroundMarks: [],
13
- coordinatesOnHover: !1,
14
- defaultGridConfiguration: 0,
15
- domain: {
16
- min: -5,
17
- max: 5,
18
- step: 1,
19
- labelStep: 1,
20
- axisLabel: "x"
21
- },
22
- graph: {
23
- width: 500,
24
- height: 500
25
- },
26
- includeAxes: !0,
27
- labels: {},
28
- labelsEnabled: !0,
29
- padding: !0,
30
- prompt: "",
31
- promptEnabled: !0,
32
- range: {
33
- min: -5,
34
- max: 5,
35
- step: 1,
36
- labelStep: 1,
37
- axisLabel: "y"
38
- },
39
- rationale: "",
40
- rationaleEnabled: !0,
41
- standardGrid: !1,
42
- studentInstructionsEnabled: !0,
43
- teacherInstructions: "",
44
- teacherInstructionsEnabled: !0,
45
- title: "",
46
- titleEnabled: !0,
47
- toolbarTools: [
48
- "circle",
49
- "line",
50
- "label",
51
- "parabola",
52
- "point",
53
- "polygon",
54
- "ray",
55
- "segment",
56
- "sine",
57
- "vector"
58
- ]
59
- };
60
- //#endregion
61
- export { e as default };
@@ -1,34 +0,0 @@
1
- /**
2
- * @synced-from pie-elements/packages/graphing/controller/src/index.js
3
- * @auto-generated
4
- *
5
- * This file is automatically synced from pie-elements and converted to TypeScript.
6
- * Manual edits will be overwritten on next sync.
7
- * To make changes, edit the upstream JavaScript file and run sync again.
8
- */
9
- export declare const compareMarks: (mark1: any, mark2: any) => boolean;
10
- export declare const comparLabelMarks: (mark1: any, mark2: any) => "correct" | "incorrect";
11
- export declare const getAnswerCorrected: ({ sessionAnswers, marks: correctAnswers, withPointLabel }: {
12
- sessionAnswers: any;
13
- marks: any;
14
- withPointLabel?: boolean | undefined;
15
- }) => any[];
16
- export declare const getBestAnswer: (question: any, session: any, env?: {}) => {
17
- bestScore: number;
18
- bestScoreAnswerKey: null;
19
- answersCorrected: any;
20
- foundOneSolution: boolean;
21
- };
22
- export declare const normalize: (question: any) => any;
23
- export declare function model(question: any, session: any, env: any): Promise<unknown>;
24
- /**
25
- * Generates detailed trace log for scoring evaluation
26
- * @param {Object} model - the question model
27
- * @param {Object} session - the student session
28
- * @param {Object} env - the environment
29
- * @returns {Array} traceLog - array of trace messages
30
- */
31
- export declare const getLogTrace: (question: any, session: any, env: any) => string[];
32
- export declare function outcome(question: any, session: any, env?: {}): Promise<unknown>;
33
- export declare const createCorrectResponseSession: (question: any, env: any) => Promise<unknown>;
34
- export declare const validate: (model?: {}, config?: {}) => {};