@pie-element/graphing-solution-set 6.1.1 → 6.1.2-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (245) hide show
  1. package/configure.js +2 -0
  2. package/controller.js +1 -0
  3. package/dist/author/configure.d.ts +26 -0
  4. package/dist/author/configure.js +190 -0
  5. package/dist/author/correct-response.d.ts +33 -0
  6. package/dist/author/correct-response.js +206 -0
  7. package/dist/author/defaults.d.ts +238 -0
  8. package/dist/author/defaults.js +339 -0
  9. package/dist/author/graphing-config.d.ts +33 -0
  10. package/dist/author/graphing-config.js +238 -0
  11. package/dist/author/index.d.ts +62 -0
  12. package/dist/author/index.js +87 -0
  13. package/dist/author/utils.d.ts +46 -0
  14. package/dist/author/utils.js +474 -0
  15. package/dist/browser/author/index.js +1942 -0
  16. package/dist/browser/author/index.js.map +1 -0
  17. package/dist/browser/browser-DpedO01u.js +1218 -0
  18. package/dist/browser/browser-DpedO01u.js.map +1 -0
  19. package/dist/browser/controller/index.js +220 -0
  20. package/dist/browser/controller/index.js.map +1 -0
  21. package/dist/browser/delivery/index.js +782 -0
  22. package/dist/browser/delivery/index.js.map +1 -0
  23. package/dist/browser/dist-SjeWPldT.js +61711 -0
  24. package/dist/browser/dist-SjeWPldT.js.map +1 -0
  25. package/dist/browser/graphing-solution-set.css +2 -0
  26. package/dist/controller/defaults.d.ts +64 -0
  27. package/dist/controller/defaults.js +54 -0
  28. package/dist/controller/index.d.ts +24 -0
  29. package/dist/controller/index.js +112 -0
  30. package/dist/controller/utils.d.ts +20 -0
  31. package/dist/controller/utils.js +42 -0
  32. package/dist/delivery/index.d.ts +22 -0
  33. package/dist/delivery/index.js +62 -0
  34. package/dist/delivery/main.d.ts +31 -0
  35. package/dist/delivery/main.js +198 -0
  36. package/dist/delivery/utils.d.ts +12 -0
  37. package/dist/delivery/utils.js +220 -0
  38. package/dist/graphing-solution-set.css +2 -0
  39. package/dist/index.d.ts +1 -0
  40. package/dist/index.iife.d.ts +8 -0
  41. package/dist/index.iife.js +403 -0
  42. package/dist/index.js +2 -0
  43. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_DataView.js +6 -0
  44. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js +16 -0
  45. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js +16 -0
  46. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Map.js +6 -0
  47. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js +16 -0
  48. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Promise.js +6 -0
  49. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Set.js +6 -0
  50. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_SetCache.js +11 -0
  51. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Stack.js +14 -0
  52. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Symbol.js +5 -0
  53. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_Uint8Array.js +5 -0
  54. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_WeakMap.js +6 -0
  55. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_apply.js +12 -0
  56. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayEach.js +7 -0
  57. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayFilter.js +10 -0
  58. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludes.js +7 -0
  59. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayIncludesWith.js +7 -0
  60. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayLikeKeys.js +15 -0
  61. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js +7 -0
  62. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arrayPush.js +7 -0
  63. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_arraySome.js +7 -0
  64. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assignValue.js +10 -0
  65. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js +8 -0
  66. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssign.js +8 -0
  67. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignIn.js +8 -0
  68. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseAssignValue.js +12 -0
  69. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseClone.js +57 -0
  70. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseCreate.js +14 -0
  71. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseDifference.js +23 -0
  72. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFindIndex.js +7 -0
  73. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseFlatten.js +13 -0
  74. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetAllKeys.js +9 -0
  75. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js +10 -0
  76. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIndexOf.js +9 -0
  77. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsArguments.js +9 -0
  78. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqual.js +8 -0
  79. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsEqualDeep.js +30 -0
  80. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsMap.js +9 -0
  81. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNaN.js +6 -0
  82. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js +11 -0
  83. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsSet.js +9 -0
  84. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseIsTypedArray.js +11 -0
  85. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeys.js +12 -0
  86. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseKeysIn.js +13 -0
  87. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseRest.js +9 -0
  88. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSet.js +22 -0
  89. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseSetToString.js +14 -0
  90. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseTimes.js +7 -0
  91. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseToString.js +15 -0
  92. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUnary.js +8 -0
  93. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_baseUniq.js +27 -0
  94. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cacheHas.js +6 -0
  95. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js +10 -0
  96. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneArrayBuffer.js +8 -0
  97. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneBuffer.js +10 -0
  98. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneDataView.js +8 -0
  99. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneRegExp.js +8 -0
  100. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneSymbol.js +8 -0
  101. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_cloneTypedArray.js +8 -0
  102. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyArray.js +8 -0
  103. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copyObject.js +14 -0
  104. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbols.js +8 -0
  105. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_copySymbolsIn.js +8 -0
  106. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js +5 -0
  107. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_createSet.js +9 -0
  108. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_defineProperty.js +10 -0
  109. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalArrays.js +35 -0
  110. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalByTag.js +35 -0
  111. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_equalObjects.js +32 -0
  112. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_freeGlobal.js +4 -0
  113. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeys.js +9 -0
  114. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getAllKeysIn.js +9 -0
  115. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js +8 -0
  116. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js +9 -0
  117. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getPrototype.js +5 -0
  118. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getRawTag.js +14 -0
  119. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbols.js +10 -0
  120. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getSymbolsIn.js +11 -0
  121. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getTag.js +23 -0
  122. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js +6 -0
  123. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js +7 -0
  124. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js +7 -0
  125. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js +13 -0
  126. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js +9 -0
  127. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js +9 -0
  128. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneArray.js +8 -0
  129. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneByTag.js +33 -0
  130. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_initCloneObject.js +9 -0
  131. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isFlattenable.js +10 -0
  132. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isIndex.js +8 -0
  133. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js +11 -0
  134. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js +7 -0
  135. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isMasked.js +11 -0
  136. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_isPrototype.js +8 -0
  137. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js +6 -0
  138. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js +9 -0
  139. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js +8 -0
  140. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js +7 -0
  141. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js +8 -0
  142. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js +13 -0
  143. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js +8 -0
  144. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js +7 -0
  145. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js +7 -0
  146. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js +8 -0
  147. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_mapToArray.js +9 -0
  148. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js +11 -0
  149. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js +5 -0
  150. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeys.js +5 -0
  151. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nativeKeysIn.js +8 -0
  152. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_nodeUtil.js +9 -0
  153. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js +7 -0
  154. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overArg.js +8 -0
  155. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_overRest.js +13 -0
  156. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_root.js +5 -0
  157. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheAdd.js +7 -0
  158. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setCacheHas.js +6 -0
  159. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToArray.js +9 -0
  160. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_setToString.js +6 -0
  161. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_shortOut.js +14 -0
  162. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackClear.js +7 -0
  163. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackDelete.js +7 -0
  164. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackGet.js +6 -0
  165. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackHas.js +6 -0
  166. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stackSet.js +16 -0
  167. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_strictIndexOf.js +7 -0
  168. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js +10 -0
  169. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js +10 -0
  170. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js +15 -0
  171. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js +8 -0
  172. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/constant.js +8 -0
  173. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/differenceWith.js +12 -0
  174. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/eq.js +6 -0
  175. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/identity.js +6 -0
  176. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArguments.js +10 -0
  177. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArray.js +4 -0
  178. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLike.js +8 -0
  179. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isArrayLikeObject.js +8 -0
  180. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isBuffer.js +6 -0
  181. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEmpty.js +21 -0
  182. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js +7 -0
  183. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js +11 -0
  184. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isLength.js +7 -0
  185. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isMap.js +7 -0
  186. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObject.js +7 -0
  187. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js +6 -0
  188. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSet.js +7 -0
  189. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js +9 -0
  190. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isTypedArray.js +7 -0
  191. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keys.js +9 -0
  192. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/keysIn.js +9 -0
  193. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/last.js +7 -0
  194. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/memoize.js +16 -0
  195. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/noop.js +4 -0
  196. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/set.js +7 -0
  197. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubArray.js +6 -0
  198. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/stubFalse.js +6 -0
  199. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/toString.js +7 -0
  200. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniq.js +7 -0
  201. package/dist/node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/uniqWith.js +7 -0
  202. package/package.json +80 -21
  203. package/CHANGELOG.json +0 -1
  204. package/CHANGELOG.md +0 -850
  205. package/LICENSE.md +0 -5
  206. package/README.md +0 -20
  207. package/configure/CHANGELOG.json +0 -1
  208. package/configure/CHANGELOG.md +0 -810
  209. package/configure/lib/configure.js +0 -312
  210. package/configure/lib/configure.js.map +0 -1
  211. package/configure/lib/correct-response.js +0 -435
  212. package/configure/lib/correct-response.js.map +0 -1
  213. package/configure/lib/defaults.js +0 -357
  214. package/configure/lib/defaults.js.map +0 -1
  215. package/configure/lib/graphing-config.js +0 -408
  216. package/configure/lib/graphing-config.js.map +0 -1
  217. package/configure/lib/index.js +0 -163
  218. package/configure/lib/index.js.map +0 -1
  219. package/configure/lib/utils.js +0 -630
  220. package/configure/lib/utils.js.map +0 -1
  221. package/configure/package.json +0 -29
  222. package/controller/CHANGELOG.json +0 -1
  223. package/controller/CHANGELOG.md +0 -675
  224. package/controller/lib/defaults.js +0 -69
  225. package/controller/lib/defaults.js.map +0 -1
  226. package/controller/lib/index.js +0 -351
  227. package/controller/lib/index.js.map +0 -1
  228. package/controller/lib/utils.js +0 -212
  229. package/controller/lib/utils.js.map +0 -1
  230. package/controller/package.json +0 -22
  231. package/demo-gss.gif +0 -0
  232. package/docs/config-schema.json +0 -1560
  233. package/docs/config-schema.json.md +0 -1114
  234. package/docs/demo/config.js +0 -8
  235. package/docs/demo/generate.js +0 -54
  236. package/docs/demo/index.html +0 -1
  237. package/docs/demo/session.js +0 -6
  238. package/docs/pie-schema.json +0 -1800
  239. package/docs/pie-schema.json.md +0 -952
  240. package/lib/index.js +0 -164
  241. package/lib/index.js.map +0 -1
  242. package/lib/main.js +0 -355
  243. package/lib/main.js.map +0 -1
  244. package/lib/utils.js +0 -515
  245. package/lib/utils.js.map +0 -1
@@ -0,0 +1,339 @@
1
+ //#region src/author/defaults.tsx
2
+ var e = {
3
+ model: {
4
+ answers: { correctAnswer: {
5
+ name: "Correct Answer",
6
+ marks: []
7
+ } },
8
+ arrows: {
9
+ left: !0,
10
+ right: !0,
11
+ up: !0,
12
+ down: !0
13
+ },
14
+ marks: [],
15
+ defaultGridConfiguration: 0,
16
+ domain: {
17
+ min: -5,
18
+ max: 5,
19
+ step: 1,
20
+ labelStep: 1,
21
+ axisLabel: "x"
22
+ },
23
+ graph: {
24
+ width: 500,
25
+ height: 500
26
+ },
27
+ gssLineData: {
28
+ numberOfLines: 1,
29
+ selectedTool: "lineA",
30
+ sections: [],
31
+ lineA: { lineType: "Solid" }
32
+ },
33
+ includeAxes: !0,
34
+ labels: {},
35
+ labelsEnabled: !0,
36
+ padding: !0,
37
+ prompt: "",
38
+ range: {
39
+ min: -5,
40
+ max: 5,
41
+ step: 1,
42
+ labelStep: 1,
43
+ axisLabel: "y"
44
+ },
45
+ rationale: "",
46
+ standardGrid: !1,
47
+ title: "",
48
+ coordinatesOnHover: !1,
49
+ promptEnabled: !0,
50
+ rationaleEnabled: !0,
51
+ teacherInstructionsEnabled: !0,
52
+ studentInstructionsEnabled: !0
53
+ },
54
+ configuration: {
55
+ authoring: {
56
+ settings: !1,
57
+ label: "Customize Grid Setup",
58
+ enabled: !0,
59
+ includeAxesEnabled: !1,
60
+ standardGridEnabled: !0,
61
+ min: {
62
+ label: "Min Value",
63
+ enabled: !0
64
+ },
65
+ max: {
66
+ label: "Max Value",
67
+ enabled: !0
68
+ },
69
+ axisLabel: {
70
+ label: "Label",
71
+ enabled: !0
72
+ },
73
+ step: {
74
+ label: "Grid Interval",
75
+ enabled: !0
76
+ },
77
+ labelStep: {
78
+ label: "Label Interval",
79
+ enabled: !0
80
+ }
81
+ },
82
+ arrows: {
83
+ settings: !0,
84
+ label: "Include Arrows",
85
+ left: { label: "left" },
86
+ right: { label: "right" },
87
+ up: { label: "up" },
88
+ down: { label: "down" }
89
+ },
90
+ gridConfigurations: [
91
+ {
92
+ label: "4-quadrant coordinate grid, -10 to 10",
93
+ arrows: {
94
+ left: !0,
95
+ right: !0,
96
+ up: !0,
97
+ down: !0
98
+ },
99
+ domain: {
100
+ min: -10,
101
+ max: 10,
102
+ step: 1,
103
+ padding: 0,
104
+ labelStep: 1,
105
+ axisLabel: "<i>x</i>"
106
+ },
107
+ graph: {
108
+ width: 480,
109
+ height: 480
110
+ },
111
+ includeAxes: !0,
112
+ labels: {
113
+ top: "",
114
+ right: "",
115
+ bottom: "",
116
+ left: ""
117
+ },
118
+ padding: !0,
119
+ range: {
120
+ min: -10,
121
+ max: 10,
122
+ step: 1,
123
+ padding: 0,
124
+ labelStep: 1,
125
+ axisLabel: "<i>y</i>"
126
+ },
127
+ standardGrid: !0,
128
+ title: ""
129
+ },
130
+ {
131
+ label: "0 to 10 on both axes",
132
+ arrows: {
133
+ left: !1,
134
+ right: !0,
135
+ up: !0,
136
+ down: !1
137
+ },
138
+ domain: {
139
+ min: 0,
140
+ max: 10,
141
+ step: 1,
142
+ padding: 0,
143
+ labelStep: 1,
144
+ axisLabel: "<i>x</i>"
145
+ },
146
+ graph: {
147
+ width: 480,
148
+ height: 480
149
+ },
150
+ includeAxes: !0,
151
+ labels: {
152
+ top: "",
153
+ right: "",
154
+ bottom: "",
155
+ left: ""
156
+ },
157
+ padding: !0,
158
+ range: {
159
+ min: 0,
160
+ max: 10,
161
+ step: 1,
162
+ padding: 0,
163
+ labelStep: 1,
164
+ axisLabel: "<i>y</i>"
165
+ },
166
+ standardGrid: !0,
167
+ title: ""
168
+ },
169
+ {
170
+ label: "0 to 20 on both axes",
171
+ arrows: {
172
+ left: !1,
173
+ right: !0,
174
+ up: !0,
175
+ down: !1
176
+ },
177
+ domain: {
178
+ min: 0,
179
+ max: 20,
180
+ step: 1,
181
+ padding: 0,
182
+ labelStep: 1,
183
+ axisLabel: "<i>x</i>"
184
+ },
185
+ graph: {
186
+ width: 480,
187
+ height: 480
188
+ },
189
+ includeAxes: !0,
190
+ labels: {
191
+ top: "",
192
+ right: "",
193
+ bottom: "",
194
+ left: ""
195
+ },
196
+ padding: !0,
197
+ range: {
198
+ min: 0,
199
+ max: 20,
200
+ step: 1,
201
+ padding: 0,
202
+ labelStep: 1,
203
+ axisLabel: "<i>y</i>"
204
+ },
205
+ standardGrid: !0,
206
+ title: ""
207
+ },
208
+ {
209
+ label: "Sample Data Graph",
210
+ arrows: {
211
+ left: !1,
212
+ right: !0,
213
+ up: !0,
214
+ down: !1
215
+ },
216
+ domain: {
217
+ min: 0,
218
+ max: 30,
219
+ step: 1,
220
+ padding: 0,
221
+ labelStep: 2,
222
+ axisLabel: "<i>t</i>"
223
+ },
224
+ graph: {
225
+ width: 480,
226
+ height: 480
227
+ },
228
+ includeAxes: !0,
229
+ labels: {
230
+ top: "",
231
+ right: "",
232
+ bottom: "Time (seconds)",
233
+ left: "Distance (meters)"
234
+ },
235
+ padding: !0,
236
+ range: {
237
+ min: 0,
238
+ max: 80,
239
+ step: 5,
240
+ padding: 0,
241
+ labelStep: 10,
242
+ axisLabel: "<i>d</i>"
243
+ },
244
+ standardGrid: !1,
245
+ title: "Distance as a function of time"
246
+ }
247
+ ],
248
+ graphDimensions: {
249
+ settings: !1,
250
+ label: "Graph Dimensions",
251
+ enabled: !0,
252
+ min: 150,
253
+ max: 800,
254
+ step: 20
255
+ },
256
+ padding: {
257
+ settings: !1,
258
+ label: "Padding"
259
+ },
260
+ labels: {
261
+ settings: !0,
262
+ label: "Graph Labels",
263
+ enabled: !0,
264
+ top: "Click here to add a top label",
265
+ right: "Click here to add a right label",
266
+ bottom: "Click here to add a bottom label",
267
+ left: "Click here to add a left label"
268
+ },
269
+ prompt: {
270
+ settings: !0,
271
+ label: "Item Stem"
272
+ },
273
+ rationale: {
274
+ settings: !0,
275
+ label: "Rationale"
276
+ },
277
+ scoringType: {
278
+ settings: !1,
279
+ label: "Scoring Type"
280
+ },
281
+ studentInstructions: {
282
+ settings: !1,
283
+ label: "Student Instructions"
284
+ },
285
+ teacherInstructions: {
286
+ settings: !0,
287
+ label: "Teacher Instructions"
288
+ },
289
+ title: {
290
+ settings: !0,
291
+ label: "Graph Title",
292
+ enabled: !0,
293
+ placeholder: "Click here to add a title for this graph"
294
+ },
295
+ instruction: {
296
+ settings: !1,
297
+ label: "Graphing Solution Set items involve plotting one or two lines on a graph and then selecting the correct area that represents the solution set. To create one, first configure the grid, then select if one or two lines will be offered and if the lines should be solid or dashed. After defining the line(s), define the correct answer by clicking the area that represents the solution set."
298
+ },
299
+ settingsPanelDisabled: !1,
300
+ spellCheck: {
301
+ label: "Spellcheck",
302
+ settings: !1,
303
+ enabled: !0
304
+ },
305
+ coordinatesOnHover: {
306
+ settings: !0,
307
+ label: "Coordinates on Hover"
308
+ },
309
+ maxImageWidth: {
310
+ teacherInstructions: 300,
311
+ prompt: 300,
312
+ rationale: 300
313
+ },
314
+ maxImageHeight: {
315
+ teacherInstructions: 300,
316
+ prompt: 300,
317
+ rationale: 300
318
+ },
319
+ withRubric: {
320
+ settings: !1,
321
+ label: "Add Rubric"
322
+ },
323
+ language: {
324
+ settings: !1,
325
+ label: "Specify Language",
326
+ enabled: !1
327
+ },
328
+ languageChoices: {
329
+ label: "Language Choices",
330
+ options: []
331
+ },
332
+ mathMlOptions: {
333
+ mmlOutput: !1,
334
+ mmlEditing: !1
335
+ }
336
+ }
337
+ };
338
+ //#endregion
339
+ export { e as default };
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/graphing-solution-set/configure/src/graphing-config.jsx
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
+ import * as React from 'react';
10
+ import PropTypes from 'prop-types';
11
+ export declare class GraphingConfig extends React.Component {
12
+ static propTypes: {
13
+ availableTools: PropTypes.Requireable<any[]>;
14
+ authoring: PropTypes.Requireable<object>;
15
+ dimensionsEnabled: PropTypes.Requireable<boolean>;
16
+ graphDimensions: PropTypes.Requireable<object>;
17
+ gridConfigurations: PropTypes.Requireable<any[]>;
18
+ labelsPlaceholders: PropTypes.Requireable<object>;
19
+ model: PropTypes.Validator<object>;
20
+ onChange: PropTypes.Validator<(...args: any[]) => any>;
21
+ showLabels: PropTypes.Requireable<boolean>;
22
+ showTitle: PropTypes.Requireable<boolean>;
23
+ titlePlaceholder: PropTypes.Requireable<string>;
24
+ };
25
+ constructor(props: any);
26
+ changeLabels: any;
27
+ changeTitle: any;
28
+ onConfigChange: any;
29
+ onChangeView: any;
30
+ changeGridConfiguration: any;
31
+ render(): React.JSX.Element;
32
+ }
33
+ export default GraphingConfig;
@@ -0,0 +1,238 @@
1
+ import e from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/cloneDeep.js";
2
+ import t from "../node_modules/.bun/lodash-es@4.18.1/node_modules/lodash-es/isEqual.js";
3
+ import { applyConstraints as n, filterPlotableMarks as r, getGridValues as i, getLabelValues as a } from "./utils.js";
4
+ import * as o from "react";
5
+ import s from "prop-types";
6
+ import { styled as c } from "@mui/material/styles";
7
+ import { GraphContainer as l, GridSetup as u } from "@pie-lib/graphing-solution-set";
8
+ import { jsx as d, jsxs as f } from "react/jsx-runtime";
9
+ import { AlertDialog as p } from "@pie-lib/config-ui";
10
+ import { MenuItem as m, OutlinedInput as h, Select as g, Typography as _ } from "@mui/material";
11
+ //#region src/author/graphing-config.tsx
12
+ var v = c("div")(({ theme: e }) => ({
13
+ display: "flex",
14
+ flexWrap: "wrap",
15
+ marginBottom: e.spacing(2.5)
16
+ })), y = c("div")(({ theme: e }) => ({
17
+ display: "flex",
18
+ flexDirection: "column",
19
+ marginRight: e.spacing(3),
20
+ marginBottom: e.spacing(2.5)
21
+ })), b = c("div")({
22
+ display: "flex",
23
+ flexDirection: "column"
24
+ }), x = c(_)(({ theme: e }) => ({
25
+ marginTop: e.spacing(1.5),
26
+ marginBottom: e.spacing(1)
27
+ })), S = c("div")(({ theme: e }) => ({
28
+ display: "flex",
29
+ flexWrap: "wrap",
30
+ alignItems: "center",
31
+ width: "100%",
32
+ marginBottom: e.spacing(2.5)
33
+ })), C = c(_)(({ theme: e }) => ({ padding: `0 ${e.spacing(1)}` })), w = c(g)({ flex: "1" }), T = class extends o.Component {
34
+ static propTypes = {
35
+ availableTools: s.array,
36
+ authoring: s.object,
37
+ dimensionsEnabled: s.bool,
38
+ graphDimensions: s.object,
39
+ gridConfigurations: s.array,
40
+ labelsPlaceholders: s.object,
41
+ model: s.object.isRequired,
42
+ onChange: s.func.isRequired,
43
+ showLabels: s.bool,
44
+ showTitle: s.bool,
45
+ titlePlaceholder: s.string
46
+ };
47
+ constructor(e) {
48
+ super(e);
49
+ let { domain: t, range: n, graph: r } = e.model || {}, o = {
50
+ domain: i(t, r.width, !0),
51
+ range: i(n, r.height, !0)
52
+ }, s = {
53
+ domain: a(t.step),
54
+ range: a(n.step)
55
+ };
56
+ this.state = {
57
+ gridValues: o,
58
+ labelValues: s,
59
+ showPixelGuides: !1,
60
+ dialog: { isOpened: !1 },
61
+ domain: { ...t },
62
+ range: { ...n }
63
+ };
64
+ }
65
+ changeLabels = (e) => {
66
+ let { model: t, onChange: n } = this.props;
67
+ n({
68
+ ...t,
69
+ labels: e
70
+ });
71
+ };
72
+ changeTitle = (e) => {
73
+ let { model: t, onChange: n } = this.props;
74
+ n({
75
+ ...t,
76
+ title: e
77
+ });
78
+ };
79
+ onConfigChange = (i, a) => {
80
+ let { model: o, onChange: s } = this.props, { defaultGridConfiguration: c = 0 } = o, { gridValues: l, labelValues: u, domain: d, range: f } = this.state, p = {
81
+ ...o,
82
+ ...i
83
+ }, { answers: m, domain: h, includeAxes: g = !0, graph: _, range: v, standardGrid: y } = p, b = {
84
+ domain: [],
85
+ range: []
86
+ }, x = {
87
+ domain: [],
88
+ range: []
89
+ }, S = a >= 0 ? a : c;
90
+ if (g) {
91
+ let e = n(h, _.width, l.domain, u.domain);
92
+ b.domain = e.gridValues || [], x.domain = e.labelValues || [];
93
+ }
94
+ if (y) b.range = b.domain, x.range = x.domain, v.step = h.step, v.labelStep = h.labelStep;
95
+ else if (g) {
96
+ let e = n(v, _.height, l.range, u.range);
97
+ b.range = e.gridValues || [], x.range = e.labelValues || [];
98
+ }
99
+ let C = e(m);
100
+ C.correctAnswer.marks = m.correctAnswer.marks.filter((e) => e.type !== "polygon");
101
+ let w = r(h, v, C);
102
+ if (!t(C, w)) {
103
+ this.setState({ dialog: {
104
+ isOpened: !0,
105
+ onClose: () => this.setState({ dialog: { isOpened: !1 } }, s({
106
+ ...o,
107
+ domain: d,
108
+ range: f
109
+ })),
110
+ onConfirm: () => {
111
+ p.gssLineData.sections = [], p.gssLineData.selectedTool = "lineA", this.setState({
112
+ gridValues: b,
113
+ labelValues: x,
114
+ dialog: { isOpened: !1 },
115
+ domain: { ...h },
116
+ range: { ...v }
117
+ }, s({
118
+ ...p,
119
+ answers: w,
120
+ defaultGridConfiguration: S
121
+ }));
122
+ }
123
+ } });
124
+ return;
125
+ }
126
+ this.setState({
127
+ gridValues: b,
128
+ labelValues: x,
129
+ domain: { ...h },
130
+ range: { ...v }
131
+ }), s({
132
+ ...p,
133
+ defaultGridConfiguration: S
134
+ });
135
+ };
136
+ onChangeView = (e, t) => {
137
+ let { graphDimensions: { enabled: n } = {} } = this.props;
138
+ n && this.setState({ showPixelGuides: t });
139
+ };
140
+ changeGridConfiguration = (e) => {
141
+ let { gridConfigurations: t } = this.props, { value: n } = e.target;
142
+ this.onConfigChange(t?.[n] || {}, n);
143
+ };
144
+ render() {
145
+ let { authoring: e = {}, gridConfigurations: t = [], graphDimensions: n = {}, labelsPlaceholders: r, model: i, showLabels: a, dimensionsEnabled: o, showTitle: s, titlePlaceholder: c, mathMlOptions: g = {} } = this.props, { arrows: T, coordinatesOnHover: E, defaultGridConfiguration: D, domain: O, labels: k, range: A, standardGrid: j, title: M } = i || {}, N = (i || {}).graph || {}, { min: P, max: F, step: I } = n || {}, { dialog: L = {}, gridValues: R, labelValues: z, showPixelGuides: B } = this.state, V = {
146
+ min: Math.max(150, P),
147
+ max: Math.min(800, F),
148
+ step: I >= 1 ? Math.min(200, I) : 20
149
+ }, H = {
150
+ axisLabel: e.axisLabel,
151
+ dimensionsEnabled: o,
152
+ includeAxesEnabled: !1,
153
+ labelStep: e.labelStep,
154
+ min: e.min,
155
+ max: e.max,
156
+ standardGridEnabled: e.standardGridEnabled,
157
+ step: e.step
158
+ }, U = e.enabled && Object.values(H).some((e) => typeof e == "object" ? e.enabled : e);
159
+ return /* @__PURE__ */ f(v, { children: [
160
+ /* @__PURE__ */ f(y, { children: [t && t.length ? /* @__PURE__ */ f(S, { children: [/* @__PURE__ */ d(C, {
161
+ component: "div",
162
+ variant: "h6",
163
+ children: "Grid Configuration"
164
+ }), /* @__PURE__ */ d(w, {
165
+ input: /* @__PURE__ */ d(h, { labelWidth: 10 }),
166
+ displayEmpty: !0,
167
+ onChange: this.changeGridConfiguration,
168
+ value: D,
169
+ MenuProps: { transitionDuration: {
170
+ enter: 225,
171
+ exit: 195
172
+ } },
173
+ children: (t || []).map((e, t) => /* @__PURE__ */ d(m, {
174
+ value: t,
175
+ children: e.label
176
+ }, t))
177
+ })] }) : null, U && /* @__PURE__ */ d(u, {
178
+ displayedFields: H,
179
+ domain: O,
180
+ gridValues: R,
181
+ includeAxes: !0,
182
+ labelValues: z,
183
+ range: A,
184
+ size: N,
185
+ sizeConstraints: V,
186
+ standardGrid: j,
187
+ onChange: this.onConfigChange,
188
+ onChangeView: this.onChangeView
189
+ })] }),
190
+ /* @__PURE__ */ f(b, { children: [
191
+ /* @__PURE__ */ d(_, {
192
+ component: "div",
193
+ variant: "h6",
194
+ children: "Define Graph Attributes"
195
+ }),
196
+ /* @__PURE__ */ d(x, {
197
+ component: "div",
198
+ variant: "body1",
199
+ children: "Use this interface to add/edit a title and/or labels"
200
+ }),
201
+ /* @__PURE__ */ d(l, {
202
+ axesSettings: { includeArrows: T },
203
+ backgroundMarks: [],
204
+ coordinatesOnHover: E,
205
+ collapsibleToolbar: !0,
206
+ collapsibleToolbarTitle: "Add Background Shapes to Graph",
207
+ domain: O,
208
+ labels: k,
209
+ labelsPlaceholders: r,
210
+ marks: [],
211
+ onChangeLabels: this.changeLabels,
212
+ onChangeTitle: this.changeTitle,
213
+ range: A,
214
+ showLabels: a,
215
+ showPixelGuides: B,
216
+ showTitle: s,
217
+ size: {
218
+ width: N.width,
219
+ height: N.height
220
+ },
221
+ title: M,
222
+ titlePlaceholder: c,
223
+ disableToolbar: !0,
224
+ mathMlOptions: g
225
+ }, "graphing-config")
226
+ ] }, "graph"),
227
+ /* @__PURE__ */ d(p, {
228
+ open: L.isOpened,
229
+ title: "Warning",
230
+ text: "This change would make it impossible for students to plot one or more graph objects in the current correct answers. If you proceed, all such graph objects will be removed from the correct answers.",
231
+ onClose: L.onClose,
232
+ onConfirm: L.onConfirm
233
+ })
234
+ ] });
235
+ }
236
+ };
237
+ //#endregion
238
+ export { T as default };
@@ -0,0 +1,62 @@
1
+ /**
2
+ * @synced-from pie-elements/packages/graphing-solution-set/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
+ range: {};
13
+ graph: {};
14
+ arrows: {
15
+ left: boolean;
16
+ right: boolean;
17
+ up: boolean;
18
+ down: boolean;
19
+ };
20
+ marks: never[];
21
+ defaultGridConfiguration: number;
22
+ domain: {
23
+ min: number;
24
+ max: number;
25
+ step: number;
26
+ labelStep: number;
27
+ axisLabel: string;
28
+ };
29
+ gssLineData: {
30
+ numberOfLines: number;
31
+ selectedTool: string;
32
+ sections: never[];
33
+ lineA: {
34
+ lineType: string;
35
+ };
36
+ };
37
+ includeAxes: boolean;
38
+ labels: {};
39
+ labelsEnabled: boolean;
40
+ padding: boolean;
41
+ prompt: string;
42
+ rationale: string;
43
+ standardGrid: boolean;
44
+ title: string;
45
+ coordinatesOnHover: boolean;
46
+ promptEnabled: boolean;
47
+ rationaleEnabled: boolean;
48
+ teacherInstructionsEnabled: boolean;
49
+ studentInstructionsEnabled: boolean;
50
+ };
51
+ constructor();
52
+ set model(m: any);
53
+ set configuration(c: any);
54
+ onModelChanged: any;
55
+ onConfigurationChanged: any;
56
+ insertImage: any;
57
+ onDeleteImage: any;
58
+ insertSound(handler: any): void;
59
+ onDeleteSound(src: any, done: any): void;
60
+ _render(): void;
61
+ disconnectedCallback(): void;
62
+ }