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

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