@pie-element/graphing 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (219) hide show
  1. package/dist/author/configure.d.ts +27 -0
  2. package/dist/author/configure.d.ts.map +1 -0
  3. package/dist/author/configure.js +208 -0
  4. package/dist/author/correct-response.d.ts +55 -0
  5. package/dist/author/correct-response.d.ts.map +1 -0
  6. package/dist/author/correct-response.js +304 -0
  7. package/dist/author/defaults.d.ts +295 -0
  8. package/dist/author/defaults.d.ts.map +1 -0
  9. package/dist/author/defaults.js +415 -0
  10. package/dist/author/graphing-config.d.ts +35 -0
  11. package/dist/author/graphing-config.d.ts.map +1 -0
  12. package/dist/author/graphing-config.js +244 -0
  13. package/dist/author/index.d.ts +60 -0
  14. package/dist/author/index.d.ts.map +1 -0
  15. package/dist/author/index.js +96 -0
  16. package/dist/author/utils.d.ts +44 -0
  17. package/dist/author/utils.d.ts.map +1 -0
  18. package/dist/author/utils.js +260 -0
  19. package/dist/controller/defaults.d.ts +60 -0
  20. package/dist/controller/defaults.d.ts.map +1 -0
  21. package/dist/controller/defaults.js +61 -0
  22. package/dist/controller/index.d.ts +34 -0
  23. package/dist/controller/index.d.ts.map +1 -0
  24. package/dist/controller/index.js +177 -0
  25. package/dist/controller/utils.d.ts +37 -0
  26. package/dist/controller/utils.d.ts.map +1 -0
  27. package/dist/controller/utils.js +111 -0
  28. package/dist/delivery/index.d.ts +22 -0
  29. package/dist/delivery/index.d.ts.map +1 -0
  30. package/dist/delivery/index.js +43 -0
  31. package/dist/delivery/main.d.ts +24 -0
  32. package/dist/delivery/main.d.ts.map +1 -0
  33. package/dist/delivery/main.js +107 -0
  34. package/dist/delivery/utils.d.ts +23 -0
  35. package/dist/delivery/utils.d.ts.map +1 -0
  36. package/dist/graphing.css +2 -0
  37. package/dist/index.d.ts +2 -0
  38. package/dist/index.d.ts.map +1 -0
  39. package/dist/index.iife.d.ts +9 -0
  40. package/dist/index.iife.d.ts.map +1 -0
  41. package/dist/index.iife.js +374 -0
  42. package/dist/index.js +2 -0
  43. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_DataView.js +6 -0
  44. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Hash.js +16 -0
  45. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_ListCache.js +16 -0
  46. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Map.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_MapCache.js +16 -0
  48. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Promise.js +6 -0
  49. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Set.js +6 -0
  50. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_SetCache.js +11 -0
  51. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Stack.js +13 -0
  52. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Symbol.js +5 -0
  53. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_Uint8Array.js +5 -0
  54. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_WeakMap.js +6 -0
  55. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_apply.js +12 -0
  56. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayEach.js +7 -0
  57. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayFilter.js +10 -0
  58. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludes.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayIncludesWith.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  61. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayMap.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arrayPush.js +7 -0
  63. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_arraySome.js +7 -0
  64. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assignValue.js +10 -0
  65. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_assocIndexOf.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssign.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignIn.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseAssignValue.js +12 -0
  69. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseClone.js +57 -0
  70. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseCreate.js +14 -0
  71. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseDifference.js +23 -0
  72. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseFindIndex.js +7 -0
  73. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseFlatten.js +13 -0
  74. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  75. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseGetTag.js +10 -0
  76. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIndexOf.js +9 -0
  77. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIntersection.js +29 -0
  78. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsArguments.js +9 -0
  79. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqual.js +8 -0
  80. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  81. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsMap.js +9 -0
  82. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNaN.js +6 -0
  83. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsNative.js +11 -0
  84. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsSet.js +9 -0
  85. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  86. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeys.js +12 -0
  87. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseKeysIn.js +13 -0
  88. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseRest.js +9 -0
  89. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSet.js +22 -0
  90. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseSetToString.js +14 -0
  91. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseTimes.js +7 -0
  92. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseToString.js +15 -0
  93. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUnary.js +8 -0
  94. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_baseUniq.js +27 -0
  95. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cacheHas.js +6 -0
  96. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castArrayLikeObject.js +7 -0
  97. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_castPath.js +10 -0
  98. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  99. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneBuffer.js +10 -0
  100. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneDataView.js +8 -0
  101. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneRegExp.js +8 -0
  102. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneSymbol.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  104. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyArray.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copyObject.js +14 -0
  106. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbols.js +8 -0
  107. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  108. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_coreJsData.js +5 -0
  109. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_createSet.js +9 -0
  110. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_defineProperty.js +10 -0
  111. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalArrays.js +35 -0
  112. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalByTag.js +35 -0
  113. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_equalObjects.js +32 -0
  114. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_freeGlobal.js +4 -0
  115. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeys.js +9 -0
  116. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  117. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getMapData.js +8 -0
  118. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getNative.js +9 -0
  119. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getPrototype.js +5 -0
  120. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getRawTag.js +14 -0
  121. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbols.js +10 -0
  122. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  123. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getTag.js +23 -0
  124. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_getValue.js +6 -0
  125. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashClear.js +7 -0
  126. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashDelete.js +7 -0
  127. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashGet.js +13 -0
  128. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashHas.js +9 -0
  129. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_hashSet.js +9 -0
  130. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneArray.js +8 -0
  131. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneByTag.js +33 -0
  132. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_initCloneObject.js +9 -0
  133. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isFlattenable.js +10 -0
  134. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isIndex.js +8 -0
  135. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKey.js +11 -0
  136. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isKeyable.js +7 -0
  137. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isMasked.js +11 -0
  138. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_isPrototype.js +8 -0
  139. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheClear.js +6 -0
  140. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheDelete.js +9 -0
  141. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheGet.js +8 -0
  142. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheHas.js +7 -0
  143. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_listCacheSet.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheClear.js +13 -0
  145. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  146. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheGet.js +7 -0
  147. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheHas.js +7 -0
  148. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapCacheSet.js +8 -0
  149. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_mapToArray.js +9 -0
  150. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_memoizeCapped.js +11 -0
  151. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeCreate.js +5 -0
  152. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeys.js +5 -0
  153. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  154. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_nodeUtil.js +9 -0
  155. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_objectToString.js +7 -0
  156. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overArg.js +8 -0
  157. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_overRest.js +13 -0
  158. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_root.js +5 -0
  159. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheAdd.js +7 -0
  160. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setCacheHas.js +6 -0
  161. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToArray.js +9 -0
  162. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_setToString.js +6 -0
  163. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_shortOut.js +14 -0
  164. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackClear.js +7 -0
  165. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackDelete.js +7 -0
  166. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackGet.js +6 -0
  167. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackHas.js +6 -0
  168. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stackSet.js +16 -0
  169. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_strictIndexOf.js +7 -0
  170. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_stringToPath.js +10 -0
  171. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toKey.js +10 -0
  172. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/_toSource.js +15 -0
  173. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js +8 -0
  174. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/constant.js +8 -0
  175. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/differenceWith.js +12 -0
  176. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/eq.js +6 -0
  177. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/identity.js +6 -0
  178. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/intersection.js +11 -0
  179. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArguments.js +10 -0
  180. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArray.js +4 -0
  181. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLike.js +8 -0
  182. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isArrayLikeObject.js +8 -0
  183. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isBuffer.js +6 -0
  184. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js +21 -0
  185. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEqual.js +7 -0
  186. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isFunction.js +11 -0
  187. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isLength.js +7 -0
  188. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isMap.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObject.js +7 -0
  190. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isObjectLike.js +6 -0
  191. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSet.js +7 -0
  192. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isSymbol.js +9 -0
  193. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isTypedArray.js +7 -0
  194. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keys.js +9 -0
  195. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/keysIn.js +9 -0
  196. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/last.js +7 -0
  197. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/memoize.js +16 -0
  198. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/noop.js +4 -0
  199. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/set.js +7 -0
  200. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubArray.js +6 -0
  201. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/stubFalse.js +6 -0
  202. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/toString.js +7 -0
  203. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/uniq.js +7 -0
  204. package/dist/node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/uniqWith.js +7 -0
  205. package/package.json +72 -0
  206. package/src/author/configure.tsx +299 -0
  207. package/src/author/correct-response.tsx +490 -0
  208. package/src/author/defaults.tsx +434 -0
  209. package/src/author/graphing-config.tsx +333 -0
  210. package/src/author/index.ts +204 -0
  211. package/src/author/utils.ts +144 -0
  212. package/src/controller/defaults.ts +74 -0
  213. package/src/controller/index.ts +458 -0
  214. package/src/controller/utils.ts +361 -0
  215. package/src/delivery/index.ts +79 -0
  216. package/src/delivery/main.tsx +180 -0
  217. package/src/delivery/utils.ts +34 -0
  218. package/src/index.iife.ts +16 -0
  219. package/src/index.ts +1 -0
@@ -0,0 +1,260 @@
1
+ import e from "../node_modules/.bun/lodash-es@4.17.23/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 };
@@ -0,0 +1,60 @@
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;
60
+ //# sourceMappingURL=defaults.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/controller/defaults.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBH,wBA8CE"}
@@ -0,0 +1,61 @@
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 };
@@ -0,0 +1,34 @@
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 }: {
12
+ sessionAnswers: any;
13
+ marks: any;
14
+ }) => any[];
15
+ export declare const getBestAnswer: (question: any, session: any, env?: {}) => {
16
+ bestScore: number;
17
+ bestScoreAnswerKey: null;
18
+ answersCorrected: any;
19
+ foundOneSolution: boolean;
20
+ };
21
+ export declare const normalize: (question: any) => any;
22
+ export declare function model(question: any, session: any, env: any): Promise<unknown>;
23
+ /**
24
+ * Generates detailed trace log for scoring evaluation
25
+ * @param {Object} model - the question model
26
+ * @param {Object} session - the student session
27
+ * @param {Object} env - the environment
28
+ * @returns {Array} traceLog - array of trace messages
29
+ */
30
+ export declare const getLogTrace: (question: any, session: any, env: any) => string[];
31
+ export declare function outcome(question: any, session: any, env?: {}): Promise<unknown>;
32
+ export declare const createCorrectResponseSession: (question: any, env: any) => Promise<unknown>;
33
+ export declare const validate: (model?: {}, config?: {}) => {};
34
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/controller/index.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAgCH,eAAO,MAAM,YAAY,GAAI,UAAK,EAAE,UAAK,YAUxC,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,UAAK,EAAE,UAAK,4BAE5C,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI;;;CAAyC,UA6B3E,CAAC;AAeF,eAAO,MAAM,aAAa,GAAI,aAAQ,EAAE,YAAO,EAAE,QAAQ;;;;;CAsFxD,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,aAAQ,QAAmC,CAAC;AAEtE,wBAAgB,KAAK,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAA,EAAE,GAAG,KAAA,oBAyF3C;AAEC;;;;;;EAMC;AACH,eAAO,MAAM,WAAW,GAAI,aAAQ,EAAE,YAAO,EAAE,QAAG,aAmFjD,CAAC;AAGF,wBAAgB,OAAO,CAAC,QAAQ,KAAA,EAAE,OAAO,KAAA,EAAE,GAAG,KAAK,oBAkBlD;AAED,eAAO,MAAM,4BAA4B,GAAI,aAAQ,EAAE,QAAG,qBAmBzD,CAAC;AAQF,eAAO,MAAM,QAAQ,GAAI,UAAU,EAAE,WAAW,OAoC/C,CAAC"}
@@ -0,0 +1,177 @@
1
+ import e from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/cloneDeep.js";
2
+ import t from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/isEmpty.js";
3
+ import n from "../node_modules/.bun/lodash-es@4.17.23/node_modules/lodash-es/uniqWith.js";
4
+ import r from "./defaults.js";
5
+ import { equalMarks as i, sortedAnswers as a } from "./utils.js";
6
+ import o from "debug";
7
+ import { partialScoring as s } from "@pie-element/shared-controller-utils";
8
+ //#region src/controller/index.ts
9
+ var c = o("@pie-element:graphing:controller"), l = () => ({
10
+ point: [],
11
+ segment: [],
12
+ line: [],
13
+ ray: [],
14
+ vector: [],
15
+ polygon: [],
16
+ circle: [],
17
+ sine: [],
18
+ parabola: [],
19
+ absolute: [],
20
+ exponential: []
21
+ }), u = {
22
+ incorrect: 0,
23
+ correct: 1,
24
+ missing: 2
25
+ }, d = (e, t) => !!(e && t && e.type === t.type && i[e.type] && i[e.type](e, t)), f = (e, t) => e.label === t.label ? "correct" : "incorrect", p = ({ sessionAnswers: t, marks: n }) => {
26
+ t ||= [], n ||= [];
27
+ let r = e(t).reduce((e, t) => {
28
+ let r = n.find((e) => d(t, e));
29
+ return t.correctness = r ? "correct" : "incorrect", r && (t.correctnesslabel = f(t, r), t.correctlabel = r.label ? r.label : "", t.label = t.label ? t.label : ""), [...e, t];
30
+ }, []), i = e(n).reduce((e, n) => t.find((e) => d(n, e)) ? e : [...e, {
31
+ ...n,
32
+ correctness: "missing"
33
+ }], []);
34
+ return [...r, ...i];
35
+ }, m = ({ scoringType: e, env: t }) => {
36
+ let n = e;
37
+ return e && (n = e === "partial scoring"), s.enabled({ partialScoring: n }, t);
38
+ }, h = (r, i, o = {}) => {
39
+ let { answers: s = {}, scoringType: c } = r || {}, { answer: u } = i || {};
40
+ Object.entries(s || {}).forEach(([e, t]) => s[e] = {
41
+ ...t,
42
+ marks: t?.marks.filter((e) => !e.building)
43
+ }), u ||= [], u = u.filter((e) => !e.building), s = t(s) ? { correctAnswer: l() } : {
44
+ correctAnswer: s.correctAnswer,
45
+ ...a(s)
46
+ };
47
+ let f = m({
48
+ scoringType: c,
49
+ env: o
50
+ }), h = n(u, d);
51
+ return Object.entries(s).reduce((e, t) => {
52
+ let n = t[0], { marks: r } = t[1] || {};
53
+ if (!r || !r.length) return e;
54
+ let i = p({
55
+ sessionAnswers: h,
56
+ marks: r
57
+ }), a = i.filter((e) => e.correctness === "correct"), o = i.filter((e) => e.correctness !== "missing"), s = r.length, c = a.length;
58
+ return o.length > s && (c -= o.length - s), c < 0 && (c = 0), (c / s > e.bestScore || !e.foundOneSolution) && (f ? e.bestScore = parseFloat((c / s).toFixed(2)) : e.bestScore = Math.floor(c / s), e.bestScoreAnswerKey = n, e.answersCorrected = i, e.foundOneSolution = !0), e;
59
+ }, {
60
+ bestScore: 0,
61
+ bestScoreAnswerKey: null,
62
+ answersCorrected: e(h).map((e) => ({
63
+ ...e,
64
+ correctness: "incorrect"
65
+ })),
66
+ foundOneSolution: !1
67
+ });
68
+ }, g = (e) => ({
69
+ ...r,
70
+ ...e
71
+ });
72
+ function _(e, n, r) {
73
+ return new Promise((i) => {
74
+ let a = g(e);
75
+ n ??= {};
76
+ let { defaultTool: o, extraCSSRules: s, prompt: l, promptEnabled: d, graph: f, answers: p, toolbarTools: m, ..._ } = a || {}, { arrows: v } = a, { mode: y, role: b } = r || {};
77
+ typeof v == "boolean" && (v = v ? {
78
+ left: !0,
79
+ right: !0,
80
+ up: !0,
81
+ down: !0
82
+ } : {
83
+ left: !1,
84
+ right: !1,
85
+ up: !1,
86
+ down: !1
87
+ });
88
+ let x = (m || []).filter((e) => e !== "label"), S = o || x.length && x[0] || "", C = {
89
+ ..._,
90
+ answers: p,
91
+ arrows: v,
92
+ defaultTool: S,
93
+ disabled: r.mode !== "gather",
94
+ prompt: d ? l : null,
95
+ rationale: null,
96
+ size: f,
97
+ showKeyLegend: r.mode === "evaluate",
98
+ showToggle: r.mode === "evaluate" && !t(p) && p.correctAnswer && p.correctAnswer.marks && !t(p.correctAnswer.marks),
99
+ teacherInstructions: null,
100
+ toolbarTools: m,
101
+ extraCSSRules: s
102
+ };
103
+ if (b === "instructor" && (y === "view" || y === "evaluate")) {
104
+ let { rationale: e, rationaleEnabled: t, teacherInstructions: n, teacherInstructionsEnabled: r } = a || {};
105
+ C.rationale = t ? e : null, C.teacherInstructions = r ? n : null;
106
+ }
107
+ if (y === "evaluate") if (!t(p) && p.correctAnswer && p.correctAnswer.marks && !t(p.correctAnswer.marks)) {
108
+ let { answersCorrected: e, bestScoreAnswerKey: t, bestScore: i } = h(a, n, r);
109
+ C.answersCorrected = e.sort((e, t) => u[e.correctness] - u[t.correctness]), C.correctResponse = t ? (p[t] || {}).marks : [], C.showToggle = C.showToggle && i !== 1;
110
+ } else C.answersCorrected = n && n.answer || [], C.correctResponse = [];
111
+ c("base: ", C), i(C);
112
+ });
113
+ }
114
+ var v = (e, t, n) => {
115
+ let r = [], { answers: i = {}, scoringType: a } = e || {}, o = t && t.answer || [];
116
+ if (!o.length) return ["Student did not interact with the graph."];
117
+ r.push(`Student added ${o.length} object(s) to the graph.`);
118
+ let s = m({
119
+ scoringType: a,
120
+ env: n
121
+ }), { answersCorrected: c, bestScore: l, bestScoreAnswerKey: u } = h(e, t, n), d = u && i[u] && i[u].marks || [], f = 0, p = 0, g = 0;
122
+ for (let e = 0; e < c.length; e++) {
123
+ let t = c[e].correctness;
124
+ t === "correct" ? f++ : t === "incorrect" ? p++ : t === "missing" && g++;
125
+ }
126
+ if (f > 0 && r.push(`Correct objects: ${f}.`), p > 0 && r.push(`Incorrect objects: ${p}.`), g > 0 && r.push(`Missing required objects: ${g}.`), c.forEach((e, t) => {
127
+ let n = e.type || "graph object", i = e.label ? `'${e.label}'` : "", a = `with index ${t + 1}`;
128
+ e.correctness === "correct" && r.push(`${n.charAt(0).toUpperCase() + n.slice(1)} ${i || a} is correct.`), e.correctness === "incorrect" && r.push(`${n.charAt(0).toUpperCase() + n.slice(1)} ${i || a} does not match the expected ${n}.`), e.correctness === "missing" && r.push(`Expected ${n} ${i || a} was not plotted by the student.`);
129
+ }), o.length > d.length) {
130
+ let e = o.length - d.length;
131
+ r.push(`${e} extra object(s) were plotted and are penalized in scoring.`);
132
+ }
133
+ return s ? r.push("Score calculated using partial scoring.") : r.push("Score calculated using all-or-nothing scoring."), r.push(`Final score: ${l}.`), r;
134
+ };
135
+ function y(e, n, r = {}) {
136
+ return new Promise((i) => {
137
+ (!n || t(n)) && i({
138
+ score: 0,
139
+ empty: !0,
140
+ logTrace: ["Student did not interact with the graph."]
141
+ }), (r.mode !== "evaluate" || t(e.answers) || e.answers && e.answers.correctAnswer && t(e.answers.correctAnswer.marks)) && i({
142
+ score: 0,
143
+ empty: !0,
144
+ logTrace: ["Student did not interact with the graph."]
145
+ });
146
+ let { bestScore: a } = h(e, n, r);
147
+ i({
148
+ score: a,
149
+ empty: !1,
150
+ logTrace: v(e, n, r)
151
+ });
152
+ });
153
+ }
154
+ var b = (e, t) => new Promise((n) => {
155
+ if (t.mode !== "evaluate" && t.role === "instructor") {
156
+ let { answers: t } = e || {}, r = [];
157
+ t && Object.values(t) && (r = (t.correctAnswer || Object.values(t)[0] || {}).marks || []), n({
158
+ answer: r,
159
+ id: "1"
160
+ });
161
+ } else n(null);
162
+ }), x = (e) => (e || "").replace(/(<(?!img|iframe|source)([^>]+)>)/gi, ""), S = (e = {}, n = {}) => {
163
+ let { answers: r, toolbarTools: i } = e, a = {}, o = {};
164
+ return (i || []).filter((e) => e !== "label").length || (a.toolbarToolsError = "There should be at least 1 tool defined."), [
165
+ "teacherInstructions",
166
+ "prompt",
167
+ "rationale"
168
+ ].forEach((t) => {
169
+ n[t]?.required && !x(e[t]) && (a[t] = "This field is required.");
170
+ }), Object.entries(r || {}).forEach(([e, t]) => {
171
+ t.marks.length || (o[e] = "At least 1 graph object should be defined."), t.marks.length > 0 && t.marks.forEach((t) => {
172
+ t.building && (o[e] = "At least 1 graph object is not correctly defined.");
173
+ });
174
+ }), t(o) || (a.correctAnswerErrors = o), a;
175
+ };
176
+ //#endregion
177
+ export { f as comparLabelMarks, d as compareMarks, b as createCorrectResponseSession, p as getAnswerCorrected, h as getBestAnswer, v as getLogTrace, _ as model, g as normalize, y as outcome, S as validate };
@@ -0,0 +1,37 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/graphing/controller/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 equalPoint: (A: any, B: any) => any;
10
+ export declare const equalSegment: (segment1: any, segment2: any) => any;
11
+ export declare const equalVector: (vector1: any, vector2: any) => any;
12
+ export declare const sortedAnswers: (answers: any) => {};
13
+ export declare const equalLine: (line1: any, line2: any) => boolean;
14
+ export declare const equalRay: (ray1: any, ray2: any) => boolean;
15
+ export declare const constructSegmentsFromPoints: (points: any) => any;
16
+ export declare const removeDuplicateSegments: (segments: any) => any;
17
+ export declare const removeInvalidSegments: (segments: any) => any;
18
+ export declare const equalPolygon: (poly1: any, poly2: any) => boolean;
19
+ export declare const equalCircle: (c1: any, c2: any) => any;
20
+ export declare const equalSine: (sine1: any, sine2: any) => boolean;
21
+ export declare const equalParabola: (p1: any, p2: any) => boolean;
22
+ export declare const equalAbsolute: (p1: any, p2: any) => any;
23
+ export declare const equalExponential: (p1: any, p2: any) => any;
24
+ export declare const equalMarks: {
25
+ circle: (sessAnswer: any, mark: any) => any;
26
+ line: (sessAnswer: any, mark: any) => boolean;
27
+ parabola: (sessAnswer: any, mark: any) => boolean;
28
+ absolute: (sessAnswer: any, mark: any) => any;
29
+ exponential: (sessAnswer: any, mark: any) => any;
30
+ point: (sessAnswer: any, mark: any) => any;
31
+ polygon: (sessAnswer: any, poly: any) => boolean;
32
+ ray: (sessAnswer: any, mark: any) => boolean;
33
+ segment: (sessAnswer: any, mark: any) => any;
34
+ sine: (sessAnswer: any, mark: any) => boolean;
35
+ vector: (sessAnswer: any, mark: any) => any;
36
+ };
37
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/controller/utils.ts"],"names":[],"mappings":"AACA;;;;;;;GAOG;AAUH,eAAO,MAAM,UAAU,GAAI,MAAC,EAAE,MAAC,QAY9B,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,aAAQ,EAAE,aAAQ,QAO9C,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,YAAO,EAAE,YAAO,QAI3C,CAAC;AAGF,eAAO,MAAM,aAAa,GAAI,YAAO,OAS3B,CAAC;AAmBX,eAAO,MAAM,SAAS,GAAI,UAAK,EAAE,UAAK,YAmCrC,CAAC;AAEF,eAAO,MAAM,QAAQ,GAAI,SAAI,EAAE,SAAI,YAYlC,CAAC;AAEF,eAAO,MAAM,2BAA2B,GAAI,WAAM,QAIjD,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,aAAQ,QAM/C,CAAC;AAEF,eAAO,MAAM,qBAAqB,GAAI,aAAQ,QAK7C,CAAC;AAEF,eAAO,MAAM,YAAY,GAAI,UAAK,EAAE,UAAK,YAexC,CAAC;AAEF,eAAO,MAAM,WAAW,GAAI,OAAE,EAAE,OAAE,QAajC,CAAC;AAEF,eAAO,MAAM,SAAS,GAAI,UAAK,EAAE,UAAK,YAmErC,CAAC;AAEF,eAAO,MAAM,aAAa,GAAI,OAAE,EAAE,OAAE,YAwBnC,CAAC;AAQF,eAAO,MAAM,aAAa,GAAI,OAAE,EAAE,OAAE,QAiBnC,CAAC;AAQF,eAAO,MAAM,gBAAgB,GAAI,OAAE,EAAE,OAAE,QAiBtC,CAAC;AAEF,eAAO,MAAM,UAAU;;;;;;;;;;;;CAYtB,CAAC"}